Home > other >  Based on serial port control of dual LED flash presentation
Based on serial port control of dual LED flash presentation

Time:12-24


Basic requirements: to achieve dual LED a variety of effect of control, all via a serial port to realize instructions (which is a serial port to send control instructions, STM32 is converted into a specific operation, the instruction encoding set); A serial port baud rates, is set to 9600, 8 bits of data, 1 stop bit, do not need to check and flow control; LED the specific effect not less than five (not including normally on and often destroyed two states); One of the LED must use TIMx interruption control flashing, another LED using ARM kernel SysTick flicker,
Extension requirements: at least set an interrupt mode button, can control one of the LED state switch button (fixed switching order, also can use the two buttons respectively corresponding to two LED control), the expansion of the other functions can be customised, discretionary bonus points will be according to the real situation,
Working directory (regulation project called USART_LED_CON) the overall package, it is important to note the experimental project build specification,
Bosses to help
  • Related