-
PWM-ULN2003A
利用ULN2003A进行驱动,产生PWM波,里边有照片,可供参考,通过本例程了解PWM 的基本原理和使用 (#include <reg52.h>
unsigned char timer1
sbit PWM=P1^2
void system_Ini()
{
TMOD|= 0x11
//PWM
TH1 = 0xfe //11.0592
TL1 = 0x33
TR1 = 1
IE =0x8A
}
main()
{
system_Ini()
while(1)
{ if(timer1>100) timer1=0
if(timer1<30) PWM=0
else PWM=1
}
)
- 2013-11-21 15:17:25下载
- 积分:1
-
avrbootloader
Iar环境下avr_bootloader的编写,可以参考参考。(Preparation of Iar under the environment of avr_bootloader, can refer to the reference.)
- 2013-06-07 12:23:41下载
- 积分:1
-
hongwaibianma
红外编码显示在p1口的led灯上,方便大家利用遥控器。(Infrared codes display on the p1 mouth of led lights, facilitate everybody using the remote control.
)
- 2016-12-20 18:09:30下载
- 积分:1
-
AD_lcd
基于TI公司的msp430g2553单片机的lcd显示程序,好用(Based on TI company s msp430g2553 MCU LCD display program, absolutely easy to use)
- 2013-09-12 12:23:53下载
- 积分:1
-
msp430f149
msp430
149各个模块编程,时钟,电源,flash,uart,等等(each module programming msp430 149)
- 2011-05-24 20:53:13下载
- 积分:1
-
WinAvraAvrStudio
AVRstudio和winavr的联用,多个文档,对于刚刚入门的单片机爱好者们非常有用。(AVRstudio and winavr hyphenated, multiple documents, for just getting started microcontroller enthusiasts very useful.)
- 2013-09-19 17:11:03下载
- 积分:1
-
步进电机
通过单片机输入程序来对步进电机进行控制,以此实现一定功能。(Stepping motor single chip microcomputer)
- 2017-11-21 17:22:36下载
- 积分:1
-
12C5A60S2EEPROM
12C5A60S2 EEPROM 的读写操作(12C5A60S2 EEPROM read_write)
- 2013-09-24 14:41:56下载
- 积分:1
-
ModbusSlaveProgram
这是一款模拟modbus从机的程序,可以方便用户调试modbus程序,本程序完全免费。(This is a simulation of the modbus from machines, can facilitate users to debug the modbus program, this program is completely free.
)
- 2013-11-08 19:23:47下载
- 积分:1
-
danpianji.zip
说明: 简单的流水灯控制和外部中断程序和键盘指针的应用(Simple light control and external interrupt water program and the application of the keyboard pointer)
- 2011-03-20 13:10:44下载
- 积分:1