-
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
-
cong2
A, 单发单收,在发送状态,能够连续发送从0到99的数字;
B, 单发单收,在接收状态,能够接收数据,并在数码管上正确地显示出来;
C, 单发多收,在AB完成的基础上,接上多个接收设备,能够正确发送和接收
这是从站2的代码(A, single-input single in the sending state, capable of continuously transmitting a number from 0 to 99 B, single-input single in the receiving state, capable of receiving data, and display correctly in the digital tube out C, single overcharged, on the basis of AB completed, connect multiple receiving devices, capable of sending and receiving the correct code from the station which is 2)
- 2014-05-19 21:21:11下载
- 积分:1
-
STM8
基于STM8设计的空气净化器,包含了市面上空气净化器的大部分功能(STM8 based design of air purifiers, air purifiers available in the market that contains most of the functionality)
- 2013-06-08 16:35:16下载
- 积分:1
-
xunhuanma
简明的循环码C++编译程序,有二种编码方案可以采取(Condensed a cyclic code C++ compiler, there are two kinds of coding schemes can be taken)
- 2013-03-04 19:18:23下载
- 积分:1
-
ThreadSample
Thread Templete Class
Custom Thread
- 2013-12-25 01:31:09下载
- 积分:1
-
spi_test
IC(PIC16F690)驱动程序C语言代码,为需要帮助的人提供方便,互相帮助!(IC (PIC16F690) driver C language code, for the people who need help to facilitate and help each other!)
- 2013-06-24 09:20:05下载
- 积分:1
-
Exam1
icarnegie系列教程SSD4的Exam1 标准满分答案,希望对大家会有所帮助(icarnegie standard series of tutorials SSD4 the Exam1 out the answer, we want to be helpful)
- 2010-12-06 17:44:44下载
- 积分:1
-
!power_11acdrive
电机控制的第一手资料,非常全面仔细,可以对伺服控制系统的编码器有很深的了解。(Firsthand motor control, very comprehensive carefully servo control system can have a deep understanding of the encoder.)
- 2014-04-04 09:05:46下载
- 积分:1
-
ADC
利用cc2430自带的adc实现模数转换(Achieved by cc2430 own adc analog to digital conversion)
- 2011-01-08 20:07:38下载
- 积分:1
-
POS_Cell_Z2101552122008
POS Cell Zone for Visual Basic
- 2016-01-28 11:06:55下载
- 积分:1