-
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
-
基本例程-USART收发
说明: STM32F103C8T6基础编程,硬件Uart通信(STM32F103C8T6 Programming, communication hardware)
- 2020-12-18 09:45:07下载
- 积分:1
-
通道ADC LCD显示
说明: 基于STM32F767的多通道ADC-DMA中断方式(Multichannel ADC-DMA interrupt mode)
- 2018-12-26 12:51:19下载
- 积分:1
-
bayer2rgb-master
说明: bayer图像测试,位图转换,yuv,rgb(Bayer image test, bitmap conversion, yuv, RGB)
- 2020-12-12 12:09:19下载
- 积分:1
-
CCPUTemp
通过EC获取CPU的运行温度,对CPU的运行温度进行实时监控,超过会自动报错,并可以设置监控时间(read CPU s temperture by EC)
- 2020-07-20 21:38:45下载
- 积分:1
-
Vector-control-of-ac-machines
From the principles of electrical engineering it is known that the 3-phase
quantities of the 3-phase AC machines can be summarized to complex
vectors. These vectors can be represented in Cartesian coordinate systems,
which are particularly chosen to suitable render the physical relations of
the machines. These are the field-orientated coordinate system for the 3-
phase AC drive technology or the grid voltage orientated coordinate
system for generator systems. The orientation on a certain vector for
modelling and design of the feedback control loops is generally called
vector orientation.
- 2013-05-08 18:08:49下载
- 积分:1
-
32 Arduino 串口多机通信
说明: Arduino 8路串口全双工通信,1个主机与7个从机同时通信。(Arduino Full duplex communication with 8 serial ports.One host communicates with seven slaves at the same time.)
- 2020-06-21 20:20:01下载
- 积分:1
-
LCD_forLPC1788
lcd驱动文件,适合LPC178x系列芯片,适合学习参考和软件开发人员。一定要顶哦!(lcd driver file for LPC178x series chips, suitable for study reference and software developers. Must be the top Oh!)
- 2012-08-14 14:36:00下载
- 积分:1
-
5PS2MOUSE1
51单片机模拟PS2鼠标KEIL C51程序,单片片机采用STC12C系列,代码注释详细,
(51 single-chip analog PS2 mouse KEIL C51 program, a single piece of machine with STC12C series of code comments in detail,)
- 2012-08-20 06:52:01下载
- 积分:1
-
Optics
Ocean Optics 2000 4000光谱仪的数据读取及保存(Ocean Optics 2000 4000 spectrometer data is read and stored)
- 2021-04-16 20:48:53下载
- 积分:1