2021-12-11 10:50:59 索煒達(dá)電子 1507
項(xiàng)目編號:E2493
文件大?。?M
源碼說明:帶中文注釋
開發(fā)環(huán)境:C編譯器
簡要概述
//程序開始,按KEY_UP鍵選擇WIFI AP模式,再按KEY_UP鍵選擇TCP服務(wù)器模式,進(jìn)入頁面。
//使用手機(jī)WIFI連接開發(fā)板熱點(diǎn)ATK-ESP8266,密碼為12345678,再打開手機(jī)上的網(wǎng)絡(luò)調(diào)試助手,
//選擇tcp client,點(diǎn)增加,輸入IP192.168.4.1,端口8086,選擇增加,顯示連接成功即可開始。
//主持人同時(shí)發(fā)送兩個(gè)數(shù)據(jù),當(dāng)主持人發(fā)送第一個(gè)數(shù)據(jù)為0屏幕顯示30s倒計(jì)時(shí)開始,第二個(gè)數(shù)據(jù)代表第幾題,
//并在屏幕左邊出現(xiàn)題目,此時(shí)八位選手可開始搶答。選手輸入第一位數(shù)代表自己的組數(shù),后面的數(shù)即為答案。
//當(dāng)選手發(fā)送成功后將會在屏幕左邊顯示選手發(fā)送的內(nèi)容,右邊會顯示搶答者的組數(shù),若答案正確組數(shù)下邊會提示RIGHT,
//該組加一分;錯(cuò)誤則提示W(wǎng)RONG,不加分。一旦有選手搶答,倒計(jì)時(shí)停止,并在搶答者下方顯示該輪搶答用時(shí)。
//本輪搶答結(jié)束,主持人發(fā)送9清除該輪時(shí)間等,發(fā)送0和題目數(shù)重新開始30s倒計(jì)時(shí),進(jìn)行下一題。
目錄│文件列表:
└ 智能搶答器(統(tǒng)計(jì)得分)
│ keilkilll.bat
│ readme.txt
├ ATK-ESP8266
│ │ apsta.c
│ │ common.c
│ │ common.h
│ │ wifiap.c
│ └ wifista.c
├ CORE
│ │ core_cm4.h
│ │ core_cm4_simd.h
│ │ core_cmFunc.h
│ │ core_cmInstr.h
│ │ core_cmSimd.h
│ └ startup_stm32f40_41xxx.s
├ FATFS
│ ├ doc
│ │ │ css_e.css
│ │ │ css_j.css
│ │ └ updates.txt
│ │ ├ img
│ │ │ │ app1.c
│ │ │ │ app2.c
│ │ │ │ app3.c
│ │ │ │ app4.c
│ │ │ │ f1.png
│ │ │ │ f2.png
│ │ │ │ f3.png
│ │ │ │ f4.png
│ │ │ │ f5.png
│ │ │ │ f6.png
│ │ │ │ f7.png
│ │ │ │ funcs.png
│ │ │ │ layers.png
│ │ │ │ layers3.png
│ │ │ │ modules.png
│ │ │ │ rwtest.png
│ │ │ │ rwtest2.png
│ │ │ └ rwtest3.png
│ ├ exfuns
│ │ │ exfuns.c
│ │ │ exfuns.h
│ │ │ fattester.c
│ │ │ fattester.h
│ │ └ mycc936.c
│ └ src
│ │ 00readme.txt
│ │ diskio.c
│ │ diskio.h
│ │ ff.c
│ │ ff.h
│ │ ffconf.h
│ │ integer.h
│ └ option
│ │ cc932.c
│ │ cc936.c
│ │ cc949.c
│ │ cc950.c
│ │ ccsbcs.c
│ │ syscall.c
│ └ unicode.c
├ FWLIB
│ ├ inc
│ │ │ misc.h
│ │ │ stm32f4xx_adc.h
│ │ │ stm32f4xx_can.h
│ │ │ stm32f4xx_crc.h
│ │ │ stm32f4xx_cryp.h
│ │ │ stm32f4xx_dac.h
│ │ │ stm32f4xx_dbgmcu.h
│ │ │ stm32f4xx_dcmi.h
│ │ │ stm32f4xx_dma.h
│ │ │ stm32f4xx_dma2d.h
│ │ │ stm32f4xx_exti.h
│ │ │ stm32f4xx_flash.h
│ │ │ stm32f4xx_flash_ramfunc.h
│ │ │ stm32f4xx_fmc.h
│ │ │ stm32f4xx_fsmc.h
│ │ │ stm32f4xx_gpio.h
│ │ │ stm32f4xx_hash.h
│ │ │ stm32f4xx_i2c.h
│ │ │ stm32f4xx_iwdg.h
│ │ │ stm32f4xx_ltdc.h
│ │ │ stm32f4xx_pwr.h
│ │ │ stm32f4xx_rcc.h
│ │ │ stm32f4xx_rng.h
│ │ │ stm32f4xx_rtc.h
│ │ │ stm32f4xx_sai.h
│ │ │ stm32f4xx_sdio.h
│ │ │ stm32f4xx_spi.h
│ │ │ stm32f4xx_syscfg.h
│ │ │ stm32f4xx_tim.h
│ │ │ stm32f4xx_usart.h
│ │ └ stm32f4xx_wwdg.h
│ └ src
│ │ misc.c
│ │ stm32f4xx_adc.c
│ │ stm32f4xx_can.c
│ │ stm32f4xx_crc.c
│ │ stm32f4xx_cryp.c
│ │ stm32f4xx_cryp_aes.c
│ │ stm32f4xx_cryp_des.c
│ │ stm32f4xx_cryp_tdes.c
│ │ stm32f4xx_dac.c
│ │ stm32f4xx_dbgmcu.c
│ │ stm32f4xx_dcmi.c
│ │ stm32f4xx_dma.c
│ │ stm32f4xx_dma2d.c
│ │ stm32f4xx_exti.c
│ │ stm32f4xx_flash.c
│ │ stm32f4xx_flash_ramfunc.c
│ │ stm32f4xx_fmc.c
│ │ stm32f4xx_fsmc.c
│ │ stm32f4xx_gpio.c
│ │ stm32f4xx_hash.c
│ │ stm32f4xx_hash_md5.c
│ │ stm32f4xx_hash_sha1.c
│ │ stm32f4xx_i2c.c
│ │ stm32f4xx_iwdg.c
│ │ stm32f4xx_ltdc.c
│ │ stm32f4xx_pwr.c
│ │ stm32f4xx_rcc.c
│ │ stm32f4xx_rng.c
│ │ stm32f4xx_rtc.c
│ │ stm32f4xx_sai.c
│ │ stm32f4xx_sdio.c
│ │ stm32f4xx_spi.c
│ │ stm32f4xx_syscfg.c
│ │ stm32f4xx_tim.c
│ │ stm32f4xx_usart.c
│ └ stm32f4xx_wwdg.c
├ HARDWARE
│ ├ 24CXX
│ │ │ 24cxx.c
│ │ └ 24cxx.h
│ ├ BEEP
│ │ │ beep.c
│ │ └ beep.h
│ ├ EXTI
│ │ │ exti.c
│ │ └ exti.h
│ ├ IIC
│ │ │ myiic.c
│ │ └ myiic.h
│ ├ KEY
│ │ │ key.c
│ │ └ key.h
│ ├ LCD
│ │ │ FONT.H
│ │ │ lcd.c
│ │ └ lcd.h
│ ├ LED
│ │ │ led.c
│ │ └ led.h
│ ├ RTC
│ │ │ rtc.c
│ │ └ rtc.h
│ ├ SDIO
│ │ │ sdio_sdcard.c
│ │ └ sdio_sdcard.h
│ ├ SPI
│ │ │ spi.c
│ │ └ spi.h
│ ├ SRAM
│ │ │ sram.c
│ │ └ sram.h
│ ├ TIMER
│ │ │ timer.c
│ │ └ timer.h
│ ├ TOUCH
│ │ │ ctiic.c
│ │ │ ctiic.h
│ │ │ ft5206.c
│ │ │ ft5206.h
│ │ │ gt9147.c
│ │ │ gt9147.h
│ │ │ ott2001a.c
│ │ │ ott2001a.h
│ │ │ touch.c
│ │ └ touch.h
│ ├ USART3
│ │ │ usart3.c
│ │ └ usart3.h
│ └ W25QXX
│ │ w25qxx.c
│ └ w25qxx.h
├ MALLOC
│ │ malloc.c
│ └ malloc.h
├ OBJ
│ └ ATK_ESP8266.hex
├ SYSTEM
│ ├ delay
│ │ │ delay.c
│ │ └ delay.h
│ ├ sys
│ │ │ sys.c
│ │ └ sys.h
│ └ usart
│ │ usart.c
│ └ usart.h
├ TEXT
│ │ fontupd.c
│ │ fontupd.h
│ │ text.c
│ └ text.h
├ USER
│ │ ATK_ESP8266.uvguix.Administrator
│ │ ATK_ESP8266.uvguix.lenovo
│ │ ATK_ESP8266.uvguix.login-FAE
│ │ ATK_ESP8266.uvoptx
│ │ ATK_ESP8266.uvprojx
│ │ JLinkSettings.ini
│ │ main.c
│ │ stm32f4xx.h
│ │ stm32f4xx_conf.h
│ │ stm32f4xx_it.c
│ │ stm32f4xx_it.h
│ │ system_stm32f4xx.c
│ └ system_stm32f4xx.h
└ USMART
│ readme.txt
│ usmart.c
│ usmart.h
│ usmart_config.c
│ usmart_str.c
└ usmart_str.h