Description: 摘 要: 本文件是C8051单片机I2C总线读写测试程序;将跳线器JP6短接,使用外部22.1184MHz晶振.
功能:定义 0 ~ 9 键为数字键, A ~ F 为功能键。按 A 键后,可按0 ~ 9 数字键,
从零地址开始存储该键值,并送LED数码管上显示该键值。按 C 键停止后,按 B 键,
从零地址开始读取数据值,并送LED数码管上显示。读取速度每秒一次。在按 C 键停止后,可按 A 键重新输入。 -Abstract : This document is C8051 MCU I2C Bus literacy test procedures; will be short jumper for JP6 Next, using external 22.1184 MHz oscillator. function : 0 ~ 9 definition of the key figures Key, A-F function keys. A key by, according to figures from 0 to 9 keys, started from zero addresses stored in the pair, and sent digital LED tube revealed that the pair. Key stop by the C, B, according to bond, starting from zero address read data values, and sent LED digital tubes show. Read one per second speed. By the C bond, after the cessation of A bond may re-enter. Platform: |
Size: 78383 |
Author:Lance Yin |
Hits:
Description: 摘 要: 本文件是C8051单片机I2C总线读写测试程序;将跳线器JP6短接,使用外部22.1184MHz晶振.
功能:定义 0 ~ 9 键为数字键, A ~ F 为功能键。按 A 键后,可按0 ~ 9 数字键,
从零地址开始存储该键值,并送LED数码管上显示该键值。按 C 键停止后,按 B 键,
从零地址开始读取数据值,并送LED数码管上显示。读取速度每秒一次。在按 C 键停止后,可按 A 键重新输入。 -Abstract : This document is C8051 MCU I2C Bus literacy test procedures; will be short jumper for JP6 Next, using external 22.1184 MHz oscillator. function : 0 ~ 9 definition of the key figures Key, A-F function keys. A key by, according to figures from 0 to 9 keys, started from zero addresses stored in the pair, and sent digital LED tube revealed that the pair. Key stop by the C, B, according to bond, starting from zero address read data values, and sent LED digital tubes show. Read one per second speed. By the C bond, after the cessation of A bond may re-enter. Platform: |
Size: 77824 |
Author: |
Hits: