-
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
-
RFCC2530_flash
CC2530单片机的flash 的读写,以及无线接收函数,看门狗的使用(CC2530 MCU flash, speaking, reading and writing, and the wireless receiving function, the use of the watch dog)
- 2021-03-13 22:19:24下载
- 积分:1
-
test
stm32 串口发送AT指令 或者字符信息(stm32 send AT commands serial port or character information)
- 2021-03-31 15:49:09下载
- 积分:1
-
MRAM
强力向各位推荐一种比铁电存储器更优越的存储器-磁电存储器,集各种存储器优点于一体,很好的文章。(Strongly recommend to you a superior than the FRAM memory- magnetic memory, set in one of the advantages of various storage, very good article.)
- 2011-06-14 23:31:29下载
- 积分:1
-
recive
说明: oled显示openmv二值化图像,并通过按键修改阈值(OLED display openmv binary image)
- 2020-06-19 18:20:01下载
- 积分:1
-
chaoshengboceju
超声波测距(5 28线性处理),测量线性度很高(Ultrasonic Ranging (528 linear processing), high linearity measurements)
- 2013-09-01 21:20:13下载
- 积分:1
-
juzhenjianpan
矩阵键盘的检测采用查询方式(去抖 松手检测)程序测试成功(The matrix keyboard detection using query (debounce let go detection) program tested successfully)
- 2013-01-28 09:16:31下载
- 积分:1
-
BLE-CC254x
cc2540的adc使用方法,使用源码,协议栈开发部分实现(adc of cc2540 ble source code)
- 2015-09-15 13:49:30下载
- 积分:1
-
BLDC电动机本体设计及控制原理(详细版)
说明: 主要介绍bldc(无刷直流电机)的本体设计以及控制方式(mainly introduce the design and control methods of bldc)
- 2020-03-26 10:55:53下载
- 积分:1
-
20170519_code
说明: STC89C52单片机获取DHT11温度传感器数据并显示于lcd1602液晶显示屏的详细代码,内附有ds18b20的获取代码(STC89C52 MCU gets data from sensor DHT11 ,and show in lcd1602.)
- 2019-03-05 14:38:26下载
- 积分:1