资源列表
7_3_Key_Long_Short_Mealy
- WDT定时器设置为16ms中断。在WDT中断中,记录下最近两次的IO状态存在KEY_Now和KEY_Past中。根据前高后低可判断按键下,前低后高可判断按键松开,存入标志位Key_Dect中。 Key_Dect作为输入量,利用状态机函数Key_SM(),判断出短按键事件和长按键事件。分别调用各自事件处理函数进行处理。-WDT timer 16ms interrupt. In the WDT interrupt, the presence of KEY_Now and KEY_Past rec
7_2_Timer_Key_LED
- WDT定时器设置为16ms中断。 在WDT中断,记录下最近两次的IO状态存在KEY_Now和 KEY_Past中。根据前高后低可判断按键按下,前低后高可判断按键松开。 事件处理函数P13_Onclick()根据按键状态切换LED 亮灭 。-WDT timer 16ms interrupt. In the WDT interrupt, the presence of KEY_Now and KEY_Past record the last two IO state. According
7_1_Breath_Lamp
- WDT定时器设置为16ms中断。 在WDT中断,循环递增/递减静态全局变量Bright,根据 Bright改写PWM占空比。-WDT timer 16ms interrupt. In the WDT interrupt, circulating the increment/decrement static global variables of Bright, according to Bright to rewrite the PWM duty cycle.
6_PWM_LED
- TA(Timer_A定时器)可用于自动输出PWM而无需CPU干预。 编写PWM初始化、设定频率改写占空比的库函数文件TA _PWM.c。 主函数调用库函数TA0_PWM_Init()完成TA_PWM初 始化,然后休眠。 P1.3事件处理函数中,循环递增静态局部变量循环递增静态局部变量 Bright的值,并调用库函数TA0_PWM_SetPeriod()改写PWM占空比参数。-TA (Timer_A timer) can be used for the automatic output
5_Interrupt_Key_LED
- 主函数 完成初始化设定后,休眠。 P1.3事件处理函数中,改写P1.0和P1.6输出状态。-The main function of complete initialization settings, dormancy. Function in the P1.3 event handling, rewriting the P1.0 and P1.6 output state.
ADS1292R
- TI模拟前端芯片ADS1292R基于STM32的驱动程序。-The TI analog front end chip ADS1292R driver code based on STM32.
4_KEY_LED_Change_DCO
- MSP4300G2553单片机的CPU时钟来源于数控振荡器 DCO 。 CPU通过长延时控制P1.6的LED闪烁亮灭 。 单片机识别P1.3机械按键以后,改变DCO参数,依次设置为1M,8M,12M和16MHz,可观察到闪烁频率增加。-CPU clock source MSP4300G2553 microcontroller in the numerical control oscillator DCO. CPU by long delay control P1.6 LED flas
16x64-LED-and-DS1302-real-time-clock
- 16X64LED显示屏+DS1302万年历源程序-16X64 LED display with DS1302 digital real time clock chip
treesys
- 利用神经网络分割树木,测量树木信息。可以计算出树木高度,胸径-Using neural network segmentation trees, trees measuring information
f48ce5ce-b535-45bb-a148-e1e5c7fdf06e
- 在嵌入式中对stm32的串口编程,我用的是奋斗的板子可以实现和PC机的通信-In the embedded serial programming for stm32, I struggle with the board and PC can communicate
walsh
- 沃尔什函数发生器工程文件,Quartus Ⅱ 13.0版本-Walsh Function Generator
msp430f5438-0-300k-ceshi-frequency
- msp430f5438 测试方波频率测量测试程序,频率范围0-300kHz 使用内部数字时钟DOC,8MHz-The MSP430F5438 test of square wave frequency measurement procedures, the frequency range of 0-300kHz using the internal DOC clock, 8MHzmsp430f5438 test of square wave frequency measurement proce
