F746ZG UART Interrupt and Software Uart with DFPlayer Mini(PF_13, PF_14)

Dependencies:   mbed SoftSerial

main.cpp

Committer:
angler
Date:
2021-04-23
Revision:
0:2444e79e5540

File content as of revision 0:2444e79e5540:

#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();
    }    
}