资源列表
light
- 51单片机编程实现发光二极管的循环发光 开发环境为KEIL uVISION2-51 MCU programming cycle of light-emitting diode light-emitting development environment for the KEIL uVISION2
keyscan
- 51单片机开发4*4键盘扫描程序,扫描到键值后,在数码管显示-51 MCU development of 4* 4 keypad scanner, scanning to the key after the LED display
bascomavrdedianziqian
- 用bascom avr 编写的按键电子琴程序
soft_ad
- 利用电容充放电的特点,使用单片机和简单的电容电阻,实现纯软件方式的AD转换。-Using capacitor charging and discharging characteristics, and simple to use single chip capacitors resistors, way to achieve pure software AD conversion.
51-clock
- 数码管前三位显示一个跑表,从000到999之间以1 秒速度运行,三个独立键盘实现按下第一个时计时停止,按下第二个时计时开始,按下第三个是计数值清零从头开始。-The top three shows a digital stopwatch, from 000 to 999 seconds, running at 1 , to achieve three separate keyboard, when pressed the first time to stop, when the second s
celiangmaichongchegnxu
- 用STC51系列单片机测量外部脉冲数的程序-STC51 MCU with the number of procedures for measuring external pulse
curtain-style
- 用AT89S51单片机的P0.0/AD0-P0.7/AD7端口接数码管的a-h端,8位数码管的S1-S8通过74LS138译码器的Y0-Y7来控制选通每个数码管的位选端。AT89S51单片机的P1.0-P1.2控制74LS138的A,B,C端子。在8位数码管上从右向左循环显示“12345678”。能够比较平滑地看到拉幕的效果。-AT89S51 microcontroller P0.0/AD0-P0.7/AD7 port with access to a-h digital side, 8-bit
Text3
- 秒计数可用20次50ms的计数溢出来实现。50ms的计数可选用T0方式1,16位定时方式,定时器初始值应为 65536-50×1000×11.0592/12=19456=4C00H 考虑中断响应时间及重装定时器初始值的时间共计约4个机器周期,定时器初始值加4(即4C04)。 秒计数值通过P2口输出,用LED指示灯显示。 -20 seconds count can be achieved 50ms overflow count. Count of 50ms means 1,16
TLC2543
- tlc2543是专用的A/D芯片,我在代码中加入了求平均值,可以在取值时更加精确。-tlc2543 is dedicated A/D chip, I added the code averaged, values can be more accurate.
wm_adc
- PIC 单片机AD转换初始化和过程调用,AD没完成时返回-1不等待,AD完成后返回结果-PIC microcontroller AD conversion initialization and procedure calls, AD did not wait for completion of-1 is returned, AD completed return results
sm32_flash_driver
- stm32内部flash驱动,可以利用内部flash掉电保存数据,跟eeprom作用一样-stm32 internal flash drive, you can use the internal flash power down to save the data, with the same effect eeprom
main
- 四位數七段顯示器利用timer,由0顯示至-Use a four-digit seven-segment display timer, displayed from 0 to 9999