搜索资源列表
STC12LE4052AD_flash_EEprom
- STC12C2052AD片内flash作为EEprom的测试程序 程序利用串口显示当前读或者写的地址,可以通过串口写入16字节数据,并读出验证 过程:正常启动后LED1长亮,按键1读取数据,按键2测试串口,读取前要保证有数据 否则等待串口写入数据。第一次写入读出后显示不正确(地址0x00为字符串结尾) 从串口发送小于17位字符串(开头一位不存,最后一位0X00结束标志)。单片机收到 后返回原值,第一位为保存的地址。读取数据时,返回第一位为读取地址本演示代码 仅针
Single-key-program
- 该程序为单个按键实现短击、长击和双击,基于状态机编程思想。-The program a short strike, the long strike and double-click a single button, the state machine-based programming ideas.
key
- 熟悉pic12f629芯片的使用,写个简短的程序,进行按键扫描和按键处理,其中按键扫描分长按键和短按键操作有效!-Familiar with the pic12f629 chip to use, write a short program, the key scanning and keys, including keys and key scan points short length of key operations and effective!
KEY
- 简单易懂,不占用任务定时器和延时的按键识别程序,无需去延时消抖,即可识别长按、短按、连续短按。-Simple and easy to understand, do not take the task timer and delay the key recognition program, without the need to delay the shake, you can identify the long press, short press, continuous short press