-
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
-
51dianpianjidi1760
以c51单片机为核心,利用1760芯片进行语音报时,51单片机控制(With c51 microcontroller core, the use of 1760 chip for voice timekeeping, 51 MCU control)
- 2013-11-28 09:41:59下载
- 积分:1
-
timer2
AVR单片机 定时器的应用 初始化 以及中断程序(AVR microcontroller timer application initialization and interrupt routine)
- 2013-08-12 10:59:38下载
- 积分:1
-
C8051F060-AD-UART1
C8051F060 自带高速AD进行数据采集 可达100兆采样率 并切缓存与片外ram 并把采集数据通过串口发送给PC ( Data Acquisition example for C8051F060
Description: This example illustrates the use of ADC1 and the DMA to acquire and store
data. It is intended for use with the C8051F060 target board in the development kit.
// This code measures a signal at the AIN0 input with the 16-bit SAR ADC0.
// The data is sampled at a rate of 100kHz. ADC output data is transferred to
XDATA memory space using the DMA.
//
// With the EMIF configured for off-chip XRAM access (on the upper ports),
this code moves the ADC data to the C8051F060TB target boards s SRAM device.
// Once data acquisition is complete, the code then prompts the user to press the P3.7
// button on the target board when ready to receive the data via the UART0 serial port.
The TB features an RS-232 transceiver and connector, so the data can be transferred
// to a PC via its serial port.
//
The code is set to acquire up to 32768 samples (for 64kbytes of data). The SRAM device -
can accommodate up to 128kbytes, )
- 2014-07-03 18:46:42下载
- 积分:1
-
UartDemo
STC12C5410AD单片机串口测试程序(STC12C5410AD microcontroller serial test programSTC12C5410AD microcontroller serial test program)
- 2012-05-07 15:03:13下载
- 积分:1
-
dianhuabohao
仿真电话键盘拨号的电路图 C 以及HEX文件 是我的单片机考试作业(this is my master piece)
- 2013-12-19 02:29:51下载
- 积分:1
-
skinforwin
Other Skin for yous App... simple, you can made more skins for it. Come whit some skins
- 2015-07-12 18:48:41下载
- 积分:1
-
12864
使用红外遥控调整时间并用12864液晶显示的王年丽时钟程序(Infrared remote control 12864 to show big clock)
- 2015-07-16 11:01:27下载
- 积分:1
-
DA-AD
单片机学习,光敏和热敏电阻实验中的DA-AD转换程序(MCU learning, photosensitive and thermistor experiment DA-AD conversion program)
- 2014-09-19 09:48:53下载
- 积分:1
-
PSCAD_SVPWM
PSCAD做的风电变流器网侧变换器,7断式svpwm调制,运行良好。(PSCAD do wind power inverter side converter, 7 broken type SVPWM modulation, work well.)
- 2017-01-01 18:10:53下载
- 积分:1