-
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
-
stc12c5a60s2_spi_12864
stc12c5a60s_spi直接驱动st7920(12864)
串口驱动、只用个IO口(stc12c5a60s_spi direct drive st7920 (12864) serial driver, only with a IO port)
- 2020-09-12 20:27:58下载
- 积分:1
-
Drifter
this .rar contain source code in basic for avr microcontroller for making drifter device to measure water velocity on the sea surface
- 2015-02-01 14:59:11下载
- 积分:1
-
LOGIC
简单的继电保护控制源代码,变压器及线路保护类(Simple relay control source code)
- 2013-07-03 15:50:12下载
- 积分:1
-
communication_between_PC_and_61.rar
PC与单片机进行通信。能够在VC6.0进行仿真。注意:visual2008不能仿真。(PC to communicate with the MCU. Can VC6.0 be simulated. Note: visual2008 not emulation.)
- 2010-01-19 10:44:34下载
- 积分:1
-
timer2112
说明: 定时器的使用,让你了解使用定时器所必须的几个步骤!从而能够使用(the use of timers let you know by the use of timers to be a few steps! In order to use)
- 2005-09-07 09:49:07下载
- 积分:1
-
Mypro
基于atmel studio 6,使用avr128单片机,实现超市导购机器人编程,直流电机结合颜色传感器实现自动巡线,5个舵机,3个自由度(Based on atmel studio 6, using avr128 microcontroller, to achieve the supermarket shopping guide robot programming, combined with the color sensor DC motor automatic transmission line, 5 servos, three degrees of freedom)
- 2013-09-28 22:44:36下载
- 积分:1
-
Infrared-mouse
用普通遥控器做的电脑鼠标,遥控器发送数据,51单片机解码,通过串口发送到上位机上,在上位机上运行程序,实现鼠标控制(Do with an ordinary remote control computer mouse, the remote control to send data, 51 single-chip decoder, sent through the serial port to the PC, run the program on the host computer, mouse control)
- 2012-06-01 08:55:26下载
- 积分:1
-
Protues-jiaocheng
protues的教程,初学者的必备,可以学习很多东西,对自己收益很大(study protues)
- 2013-11-28 11:53:19下载
- 积分:1
-
FM25CL64
STM32 SPI读写FM25CL64铁电存储器,程序为103RBT6单片机读写代码,包括SPI初始化、字节发送接收代码、FM25CL64读写代码(STM32 SPI read/write FM25CL64 ferroelectric memory, the application for 103 rbt6 microcontroller, speaking, reading and writing code, including the SPI initialization code byte code to send and receive FM25CL64, speaking, reading and writing
)
- 2020-06-27 02:20:02下载
- 积分:1