-
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
-
been
Keil uvision4.0 环境下的MCS-51单片机入门学习例程!(Keil uvision4.0 environment MCS-51 microcontroller started learning routines!)
- 2013-06-12 20:21:30下载
- 积分: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
-
12-RS232
rs232实验 可以看看是综合实验 需要的人
是51的板子 用keil编译(the rs232 experiment to see people in need of comprehensive experimental 51 board keil compiler)
- 2012-07-30 21:34:34下载
- 积分:1
-
3_34
C++程序设计10852C++案例教程源代码完成统计功能的函数(C++ Programming 10852C++ Case tutorial source code to complete a function of statistical functions)
- 2007-10-28 23:46:03下载
- 积分:1
-
SearchMaze
测试电脑鼠各个红外探测器的算法,可自行调试(Test each computer mouse infrared detector algorithm, self-debugging)
- 2013-11-07 20:20:46下载
- 积分:1
-
Matrix-keyboard-lock
矩阵键盘密码锁+简易计算器,C52的单片机平台,C语言开发,适用于初学学习。(Matrix keyboard lock+ simple calculator, C52 MCU platform, C language development, suitable for beginners to learn.)
- 2015-12-20 00:22:36下载
- 积分:1
-
ng-cordova-master-(1)
ng cordova master
yes, yes, yes,
- 2016-11-30 08:26:04下载
- 积分:1
-
Hammer
本程序利用特征线法计算管道水击的压力和流量(The program uses the method of characteristics to calculate the value of the pipeline water hammer pressure and flow values.)
- 2014-01-16 21:07:52下载
- 积分:1
-
ProfiAssist2.4
PROFIBUS调试助手ProfiAssistV2.40(PROFIBUS debugging assistant ProfiAssistV2.40)
- 2013-03-12 23:13:06下载
- 积分:1