-
LED-flow-lights
本程序是关于LED在单片机里的流水等的演示程序,已经经过测试(This program is on the LED in the SCM in the water and other presentation program, has been tested)
- 2011-06-13 13:50:36下载
- 积分:1
-
stm32-uc1698
stm32F1XX系列uc1698 160160点阵驱动(stm32F1XX uc1698 160160)
- 2021-02-25 10:59:38下载
- 积分:1
-
Labs
the file includes several examples of the code composer studio source for verification
- 2010-01-28 21:18:04下载
- 积分:1
-
Game
MSP430单片机游戏程序,俄罗斯方块,采用TI公司官方MSP430F5529开发板(The MSP430 MCU games, Tetris, using TI s official MSP430F5529 development board)
- 2020-10-09 12:27:34下载
- 积分:1
-
balancecar
两轮自平衡小车源码,蓝牙通讯控制,PID控制,STM32F103RBT6(Two self-balancing vehicle source, Bluetooth communication control, PID control, STM32F103RBT6)
- 2014-05-24 01:05:23下载
- 积分:1
-
PWM
实现mc68hc908单片机的控制PWM,产生PWM信号的源程序(Achieve mc68hc908 MCU control PWM, PWM signal generated source code)
- 2010-07-10 00:14:29下载
- 积分:1
-
BH1750P12864
BH1750FVI光照度传感器在12864液晶上的显示(BH1750FVI light sensor on the 12864 LCD display)
- 2020-11-16 23:39:40下载
- 积分:1
-
time-lcd2
430的段式液晶的小程序,自己也是新手,大家分享下(msp430 and LCD code)
- 2013-11-28 17:27:05下载
- 积分:1
-
fer1
$regfile = M8DEF.dat internal crystal 8000000
Config Lcdpin = Pin , Db4 = Portc.1 , Db5 = Portc.2 , Db6 = Portc.3 , Db7 = _
Portc.4 , E = Portd.2 , Rs = Portd.3
Config Lcd = 16 * 2
Config Timer1 = Counter , Edge = Rising
Ddrb.1 = 0 : Portb.1 = 1 PULL UP RESISTOR ACTIVATED
Config Timer0 = Timer , Prescale = 1024
Enable Counter1
Enable Interrupts
Enable Timer0
Enable Timer1
On Ovf1 Pulsecount
On Ovf0 Ovf0occures
Dim A As Long , I As Long , B As Byte
B = 0
Cls
Start Timer0
Do
Loop
End end program
Ovf0occures:
Incr I
If I > 30 Then
Stop Timer0
Cls : Home
A = B * 65536
A = A + Counter1
Lcd FREQ IS : A HZ
B = 0
I = 0 : Counter1 = 0
Start Timer0
End If
Return
Pulsecount:
Incr B
Counter1 = 0
Return
- 2014-11-22 01:04:48下载
- 积分:1
-
3通道120°相位差方波
说明: 0.2通道180°相位差方波,3通道120°相位差方波,4通道90°相位差方波
1.试验平台stm32f103c8t6
2.2通道用定时器3的1、2通道;3通道用定时器3的1、2、3通道;4通道用定时器3的1、2、3、4通道;
3.实现方法,周期和占空比用捕获通道中断反复修改捕获值来实现
4.相位差采用定时器的生效同步规则来实现(下一次更新时间生效)(0.2 channel 180 degree phase difference square wave, 3 channel 120 degree phase difference square wave and 4 channel 90 degree phase difference square wave
1. Test platform stm32f103c8t6
2.2 channels use 1, 2 channels of timer 3; 3 channels use 1, 2, 3 channels of timer 3; 4 channels use 1, 2, 3, 4 channels of timer 3;
3. Realization method, period and duty cycle are realized by repeatedly modifying capture value with capture channel interrupt
4. The phase difference is realized by the effective synchronization rule of the timer (the next update time takes effect))
- 2020-06-24 06:00:02下载
- 积分:1