-
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
-
zhinengzhizhen
智能指针的设计,主要为了解决野指针的问题(Smart pointer design, mainly in order to solve the problem of dangling pointers)
- 2015-10-25 11:16:20下载
- 积分:1
-
ALIENTEK-MINISTM32-17
ALIENTEK MINISTM32 实验17 SPI实验(The ALIENTEK MINISTM32 experiment 17 SPI experiments)
- 2013-04-20 16:34:03下载
- 积分:1
-
CSparse.tar
direct sparse solver for linear equations
- 2014-01-02 20:05:09下载
- 积分:1
-
09041529
用PIC单片机实现带音乐播放的电压表,最高实现3.3V的电压测试(PIC mcu)
- 2013-09-05 15:15:17下载
- 积分:1
-
c24c02
通过把开机次数记录在24C02中,并在数码管上显示出来, 124C02的写保护脚为低电平,即允许写(Boot number of records in the 24C02, and displayed on the digital 124C02 write-protect pin is low, that is allowed to write)
- 2012-12-10 15:40:06下载
- 积分:1
-
hmi_v013
用于TI 3S9B96开发板
实现功率转换的功能(Development board for the TI 3S9B96 achieve power conversion function)
- 2011-11-25 17:42:31下载
- 积分:1
-
guangyixingzhi
求质立方体的广义星轵发,用于数字系统设计自动化(seeking quality cube of generalized end of axle outside of hub-made for digital system design automation)
- 2007-05-22 18:42:52下载
- 积分:1
-
vbplc
说明: vb与plc通讯帮助解决vb与plc通讯之间的问题(vb and Communications plc)
- 2010-04-21 01:44:57下载
- 积分:1
-
GTS800Demo
深圳固高科技的运动控制卡设置软件源代码,C++ 编写,目前正在现场使用(Googol control card)
- 2013-12-01 22:07:37下载
- 积分:1