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.
Dependencies: mbed
Diff: Level1/Level1.cpp
- Revision:
- 23:1ee8686af747
- Parent:
- 22:a259bcbb1233
- Child:
- 24:9c7aca60e374
--- a/Level1/Level1.cpp Wed Apr 03 13:52:15 2019 +0000
+++ b/Level1/Level1.cpp Wed Apr 03 15:03:39 2019 +0000
@@ -40,13 +40,15 @@
_level.draw_solid_block(42,22, lcd);
}
-void Level1::keys(N5110 &lcd, Gamepad &pad)
+void Level1::keys(Key _k, N5110 &lcd, Gamepad &pad)
{
- _level.draw_key1(1, 79, 12, lcd, pad);
+ /*_level.draw_key1(79, 12, lcd, pad);
_level.draw_key2(36, 22, lcd, pad);
_level.draw_key3(40, 6, lcd, pad);
_level.draw_key4(62, 6, lcd, pad);
- _level.draw_key5(75, 0, lcd, pad);
+ _level.draw_key5(75, 0, lcd, pad);*/
+
+ printf("key1 = %d \n", _level._k.key1);
}
int Level1::spikes(N5110 &lcd)