资源列表
Multi-waySwitchStatusIndication
- AT89S51单片机的P1.0-P1.3接四个发光二极管L1-L4,P1.4-P1.7接了四个开关K1-K4,编程将开关的状态反映到发光二极管上。(开关闭合,对应的灯亮,开关断开,对应的灯灭)。-AT89S51 MCU P1.0-P1.3 next four light-emitting diodes L1-L4, P1.4-P1.7 next four switches K1-K4, programming will reflect the status of switches on the
ShiftedtoRightofTheLeftAdvertisingLights
- 做单一灯的左移右移,硬件电路如图4.4.1所示,八个发光二极管L1-L8分别接在单片机的P1.0-P1.7接口上,输出“0”时,发光二极管亮,开始时P1.0→P1.1→P1.2→P1.3→┅→P1.7→P1.6→┅→P1.0亮,重复循环。-Left to do a single light shifted to right, the hardware circuit as shown in Figure 4.4.1, eight light-emitting diodes L1-L8, resp
source
- 使用Mega128单片机编写的液晶、串口、菜单的C程序。-Mega128 prepared using single-chip LCD, serial, C program menu.
AlarmGenerator
- 用P1.0输出1KHz和500Hz的音频信号驱动扬声器,作报警信号,要求1KHz信号响100ms,500Hz信号响200ms,交替进行,P1.7接一开关进行控制,当开关合上响报警信号,当开关断开告警信号停止,编出程序-P1.0 output with 1KHz and 500Hz audio signal drives the speaker, for alarm signals, require signal 1KHz ring 100ms, 500Hz ring signal 200ms,
IOParallelPortDirectlyDriveLEDDisplay
- 利用AT89S51单片机的P0端口的P0.0-P0.7连接到一个共阴数码管的a-h的笔段上,数码管的公共端接地。在数码管上循环显示0-9数字,时间间隔0.2秒。 -P0 using AT89S51 MCU ports P0.0-P0.7 is connected to a total of Yam Digital tube pen a-h above, the digital control to the public termination. In the digital control on
IdentificationKeys
- 每按下一次开关SP1,计数值加1,通过AT89S51单片机的P1端口的P1.0到P1.3显示出其的二进制计数值。-Press the switch once every SP1, values of 1, P1 through AT89S51 MCU port P1.0 to P1.3 show of its binary value.
mfile
- Wide-band noise cancellation
LM75
- 用ATMEGA 128L 单片机实现对温度传感器LM75的控制,实现对温度的控制。-ATMEGA 128L used to achieve single-chip temperature sensor LM75 control to achieve temperature control.
1820
- 一个单片机的ds1820的c语言程序希望对有些同学右一定的帮助-A single chip ds1820 of c language program for some students want to be helpful right
2410uart
- 三星s3c2410开发板的串口测试ADS代码,供初学者使用-Samsung Development Board s3c2410 test ADS serial code to use for beginners
46GraphLED
- 通过在proteus中操作得知这个程序的作用是:显示图形。 使我了解了数组、变量、子程序等的运用。此程序是通过开关键的控制来实现图形的显示形状,我们主要通过定时器来实现图形的显示间隔,按键的次数来显示索要显示胡和图形,使伙熟悉了P0、P1、P3输入/输出口的功能,以及74LS245芯片胡性能等。 在程序开发中有一项编程风格很重要,那就是命名规则。 一个变量的命名如果恰到好处,能够让人望文知意的话。会让别人在阅读你的代码时变得轻松,更加容易理解。这也在无形中提高了团队合作的效率。
31
- IO 口模拟232通讯程序, 使用两种方式的C程序 占用定时器time0. -232 Communications I Simulation of IO, the use of the C procedure in two ways timer occupied time0.
