-
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
-
use-PCF8591-to-check-the-voltage
利用PCF8591模数转换和外拓借口来用作电压测量(Use PCF8591 analog to digital conversion and the extension of the pretext for voltage measurement)
- 2013-09-02 15:44:13下载
- 积分:1
-
clock
本作品可实现如下功能:
1. 显示年、月、日、星期等日期项
2. 显示时、分、秒等时间项
3. 测量并显示温度
4. 秒表(含开始,暂停,继续,复位等)
5. 闹钟(含开关,时间设定,是否启用的标志等,精确到秒)
6. 时间和日期的校正(加减均可)
(The works can achieve the following functions: 1 year, month, date, day of the week, the date of entry. Displayed, minutes, seconds time of 3 to measure and display the temperature. The stopwatch (including start, pause, resume, reset etc. ) 5 alarm (including switch, time set, the flag is enabled, accurate to seconds) the time and date of the correction (addition and subtraction can be))
- 2013-04-06 12:17:45下载
- 积分:1
-
MLX90614
MXL90614 红外温度传感器的驱动程序,测量精度在0.2度之内。(the drive program for MXL90614 temperature sensor 。)
- 2013-11-12 09:39:06下载
- 积分:1
-
33WZH8008
液晶例程, 包括画点画线画缓冲条,在液晶上printf的算法(LCD program world,you can study LCD draw points )
- 2013-08-06 11:00:33下载
- 积分:1
-
in-vehicle-GPS-navigation-system
GPS导航系统 c语言 51单片机开发(in-vehicle GPS navigation system)
- 2013-10-10 21:21:16下载
- 积分:1
-
Template1
说明: 根据固件库创建的stm32模板,各设置皆以配置好,开发环境为KElL_MDK5(According to the STM32 template created by the firmware library, all the settings are configured, and the development environment is Kell_ MDK5)
- 2020-12-20 20:27:31下载
- 积分:1
-
STM32-MCKIT-V1.0
ST PMSM/ACIM FOC 电机控制库 V1.0(ST PMSM/ACIM FOC)
- 2013-08-23 14:24:05下载
- 积分:1
-
PCF8563lcd1602
pcf8563 lcd1602 ds18b02 stc89c52rc对系统精确定时 报警 采集温度(pcf8563 lcd1602 ds18b02 stc89c52rc precise timing of the alarm system collected temperature)
- 2011-11-18 13:18:38下载
- 积分:1
-
51-circuit-for-proteus
郭天祥教学单片计配套电路图,可用proteus打开,比完成相应的实验(It is the circuit for the using of SCM of Guo Tianxiang training. )
- 2012-09-25 19:05:53下载
- 积分:1