Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Classic_Engine/ClassicEngine.cpp
- Revision:
- 20:4a39a1a2be51
- Child:
- 29:42651f87522b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Classic_Engine/ClassicEngine.cpp Wed Apr 17 14:34:08 2019 +0000 @@ -0,0 +1,14 @@ +/*void ClassicEngine::classic_mode(FXOS8700CQ &accelerometer, Gamepad &gamepad, N5110 &lcd, int fps){ + for(int i = 0; i < 30*fps; i++){ + if(gamepad.check_event(gamepad.BACK_PRESSED)){ pause_menu(gamepad, lcd, fps, i);} + classic_update(accelerometer, gamepad); + lcd.clear(); + classic_draw(lcd); + lcd.refresh(); + wait(1/fps); + } +} + +void ClassicEngine::classic_update(FXOS8700CQ &accelerometer, Gamepad &gamepad){ +} +*/ \ No newline at end of file