-
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
-
rilishizhong
说明: MCU 52 单片机控制程序,主要功能是日历时钟显示函数控制函数的算法。(MCU 52 microcontroller control program, the main function is to control the function of the calendar clock display function, the algorithm.)
- 2011-04-07 11:06:50下载
- 积分:1
-
GSM2
基于51单片机实现定位,并通过sim900a把定位信息发送到指定手机(base on 51 chip,send location to phone)
- 2016-05-11 14:09:31下载
- 积分:1
-
PassTp
内核重载过TP(看雪大牛作品,非常完整)(Kernel overloaded over TP (see snow Daniel works very complete))
- 2015-03-06 19:36:29下载
- 积分:1
-
aes
AES128/196/256 加解密源码,可实现ECB模式加密,HEX输出。密码及明文没有补齐功能,需手动补齐。无需特殊库文件,适合单片机使用。已测试,可正常使用。(AES128/196/256 encryption source code, can achieve ECB mode encryption, HEX output. The password and the plaintext without the need to manually fill up function. No special library files, suitable for single use. Has been tested, can be used normally.)
- 2015-12-30 09:30:04下载
- 积分:1
-
led
at89c2051利用74ls164 驱动 共阳极数码管(74ls164 driver to use a total of at89c2051 digital tube anode)
- 2009-05-04 23:01:10下载
- 积分:1
-
MEGA8-PWM
MEGA8的PWM输出功能来完成三路PWM波形.doc(MEGA8 PWM output function to complete the three-way PWM waveform. Doc)
- 2013-07-05 11:17:34下载
- 积分:1
-
msp430-xiangweichaceliang-
基于MSP430的可以测量方波的相位差的程序,精确到小数点后3位,double型数据(msp430 相位差测量)
- 2015-07-26 22:48:36下载
- 积分:1
-
Exceptional-CPP
This second edition cancels and replaces the first edition,
ISO/IEC 9899:1990, as amended and corrected by
ISO/IEC 9899/COR1:1994, ISO/IEC 9899/AMD1:1995, and
ISO/IEC 9899/COR2:1996.
- 2014-10-22 21:17:02下载
- 积分:1
-
ADC0809
说明: 一个用于
AD采集的程序和电路,可以直接看到相应的作用(ADC0809)
- 2010-03-22 17:05:11下载
- 积分:1