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.
Classic_Engine/ClassicEngine.cpp
- Committer:
- JamesCummins
- Date:
- 2019-04-17
- Revision:
- 20:4a39a1a2be51
- Child:
- 29:42651f87522b
File content as of revision 20:4a39a1a2be51:
/*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){ } */