Adam Baker 201166301
Dependencies: mbed Gamepad N5110
Diff: main.cpp
- Revision:
- 10:a37a4d2c09e7
- Parent:
- 9:ddeafaadf984
- Child:
- 11:dcb38924d96b
--- a/main.cpp Sat Mar 23 12:41:30 2019 +0000 +++ b/main.cpp Sun Mar 24 18:37:12 2019 +0000 @@ -13,7 +13,7 @@ int main() { - int fps = 5; + int fps = 12; pad.init(); lcd.init(); @@ -47,10 +47,8 @@ move = runner.runLeft(move, lcd, speed); move = runner.runRight(move, lcd, speed); - - - move = runner.fall(move); + move = runner.fall(move, lcd);