-
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
-
numeric-trapezium
一个数字梯形,选择k条路线,每条路线从第一层的某个数开始,每次进入下一层到达左下或者右下的数字,直到最后一层为止。每条路线不能经过相同的路径,但是可以经过相同的数字节点。 输出一个整数,表示能得到的最大的k条路径经过的数字之和(A digital ladder, the K route, each route the first layer of a number, each time to enter the next layer to reach the left or right next to the number, until the final layer. Each route can not pass through the same path, but can pass through the same number of nodes. Output an integer representing the sum of the number of the largest K paths that can be obtained)
- 2020-11-19 11:09:38下载
- 积分:1
-
msp430-csb
使用MSP430F5438单片机和HC-SR04超声波模块实现测距的源码。( Using the MSP430F5438 microcontroller and HC-SR04 ultrasonic ranging module source.)
- 2015-04-19 12:04:35下载
- 积分:1
-
PSoC
PSoC(Programmable System-On-Chip,片上可编程系统)实验指导,内含5个实验,适合新手学习熟悉功能,希望给大家带来帮助(An instruction of PSoC, 5 samples included,suitable for beginners.May it be hopeful!)
- 2014-04-02 19:55:03下载
- 积分:1
-
smart-grid
智能电网综述。提出新的概念和研究方法。及其对目前传统电网的颠覆。(smart power grids。)
- 2015-08-21 16:26:20下载
- 积分:1
-
car
c51的单片机智能小车 具有红外循迹 超声波避障 以及hc06手机蓝牙遥控的功能(auto car)
- 2015-05-02 17:50:08下载
- 积分:1
-
labview--PWM
此设计模拟工业控制现场,通过调节Labview界面中的模拟仪表,通过RS232串口通信,把转速控制信息通过串口传送到单片机中,进而利用单片机控制电动机的转速。(labview-based PWM motor speed)
- 2016-02-29 11:13:32下载
- 积分:1
-
WinAvraAvrStudio
AVRstudio和winavr的联用,多个文档,对于刚刚入门的单片机爱好者们非常有用。(AVRstudio and winavr hyphenated, multiple documents, for just getting started microcontroller enthusiasts very useful.)
- 2013-09-19 17:11:03下载
- 积分:1
-
2003-05-22_ps2kbd_fw
说明: 一个PS2键盘单片机, 使用Philips的接口+8051,写的不错,非常值得学习.(a PS2 keyboard microcontroller, the use of the interface, Philips 8051, was a good, very worth learning.)
- 2005-11-04 21:45:05下载
- 积分:1
-
cc
说明: 自动加料机控制系统 以单片机实现 用于毕业设计 (Automatic feeder control system the MCU for graduation design)
- 2012-11-08 08:39:33下载
- 积分:1