文件名称:led-light
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-05-08
- 文件大小:
- 11kb
- 下载次数:
- 0次
- 提 供 者:
- 谢**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
作为单片机的入门实验,本实验详细说明了单片机如何工作。
说了这么多了,相信你也看了很多资料了,手头应该也有必备的工具了吧!(不要忘了上面讲过几个条件的哦)。单片机究竟有什么功能和作用呢?先不要着急!接下来让我们点亮一个LED(搞电子的应该知道LED是什么吧^_^)
我们在单片机最小系统上接个LED,看我们能否点亮它!对了,上面也有好几次提到过单片机最小系统了,所谓单片机最小系统就是在单片机上接上最少的外围电路元件让单片机工作。一般只须连接晶体、VCC、GND、RST即可,一般情况下,AT89C51的31脚须接高电平。
但是有了实验板就方便多了!
硬件连接要求:将实验板上拨码开关附近的LED的跳线帽插上!
KEILC代码在c51文件夹中!-As the basic singlechip experiment, this experiment illustrates in detail the computer work.Said so much, I believe you also read a lot of materials, hand should also have the necessary tools! (don t forget the above mentioned several conditions.). What is the function of MCU and action? Don t worry! Let us next to light a LED (engage in electronic should know what is LED. ^_^)We take the LED in MCU minimum system, see if we can light it! Yes, it also has several times mentioned the minimum system of the MCU, the MCU minimum system is microcontroller peripheral circuit elements connected at least let scm. Generally only connected crystal, VCC, GND, RST can, in general, the AT89C51 pin 31 must be connected high.But the more convenient!The hardware connection requirements: the jumper cap will dial switch near the LED experiment board plug!The KEILC code in the C51 folder!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
led light\led light
.........\led light.c
.........\led light.hex
.........\led light.lnp
.........\led light.LST
.........\led light.M51
.........\led light.OBJ
.........\led light.Opt
.........\led light.plg
.........\led light.Uv2
.........\STARTUP.A51
.........\STARTUP.LST
.........\STARTUP.OBJ
led light