-
dengjiCH3
单片机MC9S08AW60脉宽调制 TPM1CH3 LS2亮度控制 KBI SEG控制亮度等级 。本工程为定时器输出PWM波测试工程实例通过对PWM占空比的调节,实现小灯的渐亮的功能,当占空比为100%时再从0%逐渐增加.PWM的周期一定要足够的快,否则其输出电压的波动范围很大,且测不出一个稳定的电压值,这样通过就观察不到小灯渐亮效果. 另外,在改变PWM的周期和占空比之前和之后要分别禁止和使用。(MC9S08AW60 pulse width modulation TPM1CH3 LS2 brightness control KBI SEG brightness level. This project is an example of testing the output PWM wave of the timer. By adjusting the duty ratio of the PWM, the function of the small lamp gradually brightening is realized. When the duty ratio is 100%, the period of the small lamp gradually increases from 0%. The period of the PWM must be fast enough. Otherwise, the fluctuation range of the output voltage is large and a stable voltage value can not be measured, so the effect of the gradual brightening of the small lamp can not be observed. In addition, the period of the PWM is changed. Before and after duty cycle should be prohibited and used separately.)
- 2018-12-24 19:10:02下载
- 积分:1
-
Code(6)
As the figure above illustrates, a phase accumulator compares the sample clock and desired frequency to increment a phase register. Again, the fundamental idea is that we can generate signals with precise frequencies by generating an appropriate sample based on the phase of that frequency at any point in time. In addition, by representing our waveform with 214 (16,384) points, we are able to represent exactly 16,384 phase increments with our lookup table.
- 2013-12-11 09:48:41下载
- 积分:1
-
KEIL_DATA
从KEIL调试软件中抓取内存数据,用于分析(acquiring memory data by keil debugger for analysis)
- 2016-12-09 15:12:54下载
- 积分:1
-
pq
说明: 用PSCAD软件编写的典型的分布式发电机PQ控制(PQ control of the distributed generators)
- 2012-05-12 16:50:49下载
- 积分:1
-
STM8S_modbus
说明: freemodbus移植到stm8s103(freemodbus slave port to stm8s103)
- 2020-10-02 21:07:40下载
- 积分:1
-
F103VET6 软件IIC控制 STM32_ADXL345_IIC
我使用的是F103VET6,软件IIC控制,改引脚配置后可方便移植。 SDL连接PB6、SDA连接PB7、CS连接高电平,SDO连接高电平的话模块的写地址为0x3A、读地址为0x3B··· ···(I use F103VET6, software IIC control, pin configuration can be easily transplanted. SDL connects PB6, SDA connects PB7, CS connects high level. SDO connects high level telephone module with write address of 0x3A and read address of 0x3B.)
- 2020-07-01 19:00:02下载
- 积分:1
-
15_3_3
描述海水中声传播衰减与声波频率,海水盐度、温度的关系。(Description seawater sound propagation attenuation and acoustic frequency, salinity, temperature relationship.)
- 2015-01-04 21:11:18下载
- 积分:1
-
wnkong2
ICC AVR环境下编写的基于死区PID算法的AVR单片机温控系统小程序(ICC AVR environment written in AVR microcontroller PID algorithm based on the dead zone temperature control system applet)
- 2013-04-14 21:49:27下载
- 积分:1
-
ds_1602
MSPf5529LCD1602显示,初学小实验。(MSPf5529LCD1602 shows that the primary school experiment.)
- 2020-06-23 19:00:02下载
- 积分:1
-
单片机串口发送数据
利用单片机实现串口数据发送,整个工程文件。(Implement serial port to send data by MCU)
- 2020-06-21 14:00:01下载
- 积分:1