-
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
-
基于RSSI加权数据融合的TDOA定位算法_赵峰
说明: 可以研究基于RSSI的TDOA声音定位算法(Sound source location algorithm of the 15th beacon car of Feisi)
- 2020-03-22 17:41:28下载
- 积分:1
-
serial
说明: 串口测试 测试接收和发送,.........(Serial port test test receive and send)
- 2020-03-05 18:40:00下载
- 积分:1
-
雨刷
说明: 用51单片机,使用AD芯片,达到雨越大,雨刷越快的效果(With 51 single chip microcomputer, the use of AD chip, the bigger the rain, the faster the wiper effect)
- 2020-06-24 03:20:01下载
- 积分:1
-
CCS_OLED
基于msp430f5529在ccs上开发的oled 0.96 iic驱动例程(OLED 0.96 IIC driver routine developed on CCS based on msp430f5529)
- 2020-10-12 23:57:32下载
- 积分:1
-
30
说明: 30章51单片机入门教程,让你轻松学会单片机,不用老师,自学也能学会(30 Chapter 51 MCU introductory tutorial, allow you to easily learn the microcontroller without the teacher, can learn to self-)
- 2012-12-06 21:23:50下载
- 积分:1
-
YL-64
TCS3200颜色传感器测试程序以及有关说明pdf文件,测试可用讲解详细(TCS3200 yan se chuan gan qi cheng xu ji you guan shuo ming)
- 2016-03-02 19:00:25下载
- 积分:1
-
24C02
51单片机对串行存储器 24c02的 读写程序 (Serial memory 24c02 literacy procedures)
- 2012-09-18 09:30:56下载
- 积分:1
-
AVR_TWI
一个AVR的TWI双机通讯(主机:mega16从机:mega8)(The AVR TWI a two-machine communication (host: mega16 Slave: mega8))
- 2011-08-10 15:48:51下载
- 积分:1
-
Railwearmeasurement
钢轨磨耗测量系统,属非接触式测量,实现了钢轨磨耗的快速,精确测量(Rail wear measurement system is a non-contact measurement, the rail wear realize fast, accurate measurement)
- 2021-02-19 16:59:44下载
- 积分:1