Simple fish eat program
Dependencies: mbed mbed-rtos N5110 ShiftReg Tone
Diff: classes/Settings.h
- Revision:
- 8:fe51fbf81dee
- Parent:
- 6:7aafcaf7cbe2
- Child:
- 9:d52c4df02493
diff -r 6f951d175df6 -r fe51fbf81dee classes/Settings.h --- a/classes/Settings.h Thu Mar 25 13:00:19 2021 +0000 +++ b/classes/Settings.h Mon Mar 29 20:32:45 2021 +0000 @@ -1,7 +1,6 @@ #ifndef SETTINGS_H #define SETTINGS_H -#include "rtos.h" //allows multiple threads to run at the same time: https://os.mbed.com/handbook/RTOS #include "N5110.h" #include "Tone.h" #include "ShiftReg.h" @@ -20,13 +19,9 @@ //read button B int buttonB_state(int ButtonB); - - //sound start //settings menu - int settingsMenu(N5110 &lcd, Tone &dac, Joystick &joystick); - - //sound off + void settingsMenu(N5110 &lcd, Tone &dac, Joystick &joystick); private: int ButtonA;