资源列表
xianshi65565222
- 这个程序的任务是键盘显示数字,也就是分别按倚天版的4个小键盘,右边的数码管轮流分别显示数字0,1,2,3,为了便于程序的讲解,我们把每一句分别编号, 实际输入程序时,就不用写后面的号码了。第1,2,3行是单片机的初始化,一般的程序都是这样开头的, 作用是跳开00-30h的地址单元,因为这些单元是分配给特殊寄存器使用的。第6行把p3送0ffh,作用是把这些端口p3.0-p3.7置高电平, 因为倚天版的键盘接在p3口,只有当端口为高电平时, 我们按下键盘,那么这个端口被短路到地,端口被强行变为0
csbmain
- 超声波测距的一个实例代码。语言:C 单片机:atmega48 编译环境:iccavr ide 测量结果回传给PC-An example of ultrasonic ranging code. Language: C single-chip: atmega48 compiler environment: iccavr ide the measurement results back to PC
read-rc-clock
- STC单片机内部时钟的读写源代码,可供学习开发使用-STC MCU internal clock of the read and write the source code available for study and development of the use of
DS18B20AT89C51
- 单片机驱动DB18B20的C51代码-Microprocessor DB18B20 the C51 code
c51-music-lanhuacao
- 这是本人购买的LY-51S开发板里的音乐(兰花草)源代码,有需要的朋友可以参考一下!-This is my purchase of the LY-51S development board in the music (orchids) source code, a friend in need for reference!
wannianli
- 51单片机之不怕掉电的超级万年历,用点阵实现-51 SCM' s not afraid of the super-power-down calendar
ZUOYI
- 数码管循环左移 日期:2009.5 修改:无 内容:多位数码管分别显示不同数字,这种扫描显示方式成为动态扫描,并不停变化赋值-Digital pipe loop left
1602
- 这是大家常用到的液晶屏,1602液晶显示程序-1602 LCD display program
ma013
- 单片机开发系统演示程序,演示此程序需要配合串口调试软件(配套光盘已有此软件-Microcontroller development system demonstration program that demonstrates this program need to meet serial debugging software (CD-ROM has been supporting this software
EEPROM
- 本程序运行时,按下K1将向EEPROM中写入1~21,按下K2时写入无规律的21个数,按下K3时读取EEPROM中的21个数并循环显示.所读写的21个数中,前20个在EEPROM中的地址是透明的(0x0001~0x0014),最后的第21个数其地址是不透明的.-This program is running, press K1 will be 1 to 21 is written in the EEPROM, when writing press K2 irregular number 21,
mpu6050_mcu
- 单片机采集mpu6050传感器数据,采用SPI或者I2C接口。-SCM mpu6050 sensor data collection, using SPI or I2C interface.
DS1302
- DS1302的C51程序,包含配置和模拟I2C-C51 DS1302 procedures, including the configuration and simulation I2C
