-
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
-
Chip-electronic-bell-million-years
单片机万历年电子钟Chip electronic bell million years(Chip electronic bell million years)
- 2013-11-15 15:16:49下载
- 积分:1
-
1602
说明: 用4*4矩阵键盘给液晶1602送四位数,其中第四行按键设置为功能键,按键显示可调对应位的数字(With 4* 4 matrix keyboard to send the four-digit LCD 1602, the fourth line of buttons is set to function keys, adjustable button displays the corresponding number of bits)
- 2009-08-29 13:21:16下载
- 积分:1
-
使用PCOMM实现的MFC串口调试助手
Pcomm开发的串口调试助手,能实现简单的发送和接收.(Pcomm development of serial debugging assistant)
- 2017-09-26 15:16:39下载
- 积分:1
-
USB_2.0.pdf
stm32下跑通usb外设,编译环境基于keil(stm32 next run through usb peripherals, based on keil compiler environment)
- 2013-10-05 21:34:54下载
- 积分:1
-
AD12864
ad采集及12864显示额程序 基于atmega128(ad 12864)
- 2012-07-25 23:55:10下载
- 积分:1
-
search-for-max-light-power-point
驱动步进电机,旋转多次,寻找空间光强极大值初步程序(Drive stepper motor rotation several times to find space intensity maxima preliminary program)
- 2016-04-03 22:41:56下载
- 积分:1
-
LSD_C
自己实现的LSD直线检测算法,比论文提供的LSD检测算法少了很多复杂操(LSD own line detection algorithm implemented, LSD detection algorithm than the paper offered a lot less complicated operation)
- 2021-02-01 10:50:01下载
- 积分:1
-
battery_model
这是一个基于THEVENIN的锂电池模型,能够观察到SOC和OCV。(This is a DCDC chopper, and is isolated and can be converted to low-voltage DC high-voltage direct current and voltage controlled to achieve, can be used for battery charging and discharging.)
- 2015-03-16 13:11:59下载
- 积分:1
-
dhq001
降压斩波电路仿真,可以加深对dcdc变换的理解(Buck chopper circuit simulation, you can deepen the understanding of the DCDC transform)
- 2016-04-28 23:49:32下载
- 积分:1