Jongwan Seo
/
UART_Interrupt_Softuart_MP3
F746ZG UART Interrupt and Software Uart with DFPlayer Mini(PF_13, PF_14)
Diff: main.cpp
- Revision:
- 0:2444e79e5540
diff -r 000000000000 -r 2444e79e5540 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Apr 23 02:58:41 2021 +0000 @@ -0,0 +1,21 @@ +#include "mbed.h" +#include "DFPlayer.h" +#include "Serial_Interrupt.h" + +uint16_t loop_count = 0; + +int main(void) +{ + wait(2); + range_finder_init(); + mp3_set_volume(5); + wait(1); + mp3_play_physical1(3); + wait(1); + + + while (true) + { + parse_range(); + } +}