ECE3872 HW/SW Project Code
Dependencies: mbed Servo mbed-rtos 4DGL-uLCD-SE PinDetect X_NUCLEO_53L0A1
Diff: main.cpp
- Revision:
- 4:1790aa9234a3
- Parent:
- 3:7486869c8027
- Child:
- 5:d34d14d33a89
- Child:
- 19:f76e4ffddbe1
--- a/main.cpp Tue Mar 31 19:50:37 2020 +0000 +++ b/main.cpp Tue Mar 31 20:03:55 2020 +0000 @@ -1,4 +1,5 @@ #include "mbed.h" +#include "audio_out.h" DigitalOut myled(LED1); // States @@ -62,7 +63,7 @@ */ } -int main() { +void state_machine_mgr(){ sm_state curr_state = sRESET; while(1) { switch(curr_state){ @@ -103,3 +104,7 @@ } } } + +int main() { + state_machine_mgr(); +}