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
Revision 31:5c9309ddf84c, committed 2019-04-20
- Comitter:
- fy14lkaa
- Date:
- Sat Apr 20 23:13:09 2019 +0000
- Parent:
- 30:9688950d9f38
- Child:
- 32:25f62a4392d5
- Commit message:
- creating space_ship folder.
Changed in this revision
--- a/SpaceInvadersEngine/SpaceInvadersEngine.h Sat Apr 20 00:53:42 2019 +0000 +++ b/SpaceInvadersEngine/SpaceInvadersEngine.h Sat Apr 20 23:13:09 2019 +0000 @@ -4,6 +4,9 @@ #include "mbed.h" #include "N5110.h" #include "Gamepad.h" +#include "Alien.h" +#include "bullet.h" +
--- a/bullet/bullet.h Sat Apr 20 00:53:42 2019 +0000 +++ b/bullet/bullet.h Sat Apr 20 23:13:09 2019 +0000 @@ -1,3 +1,7 @@ +#ifndef BULLET_H +#define BULLET_H + + #include "mbed.h" #include "N5110.h" #include "Gamepad.h"
--- a/main.cpp Sat Apr 20 00:53:42 2019 +0000
+++ b/main.cpp Sat Apr 20 23:13:09 2019 +0000
@@ -24,7 +24,7 @@
////////////// objects ///////////////
-//N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11);
+N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11);
Gamepad pad;
SpaceInvadersEngine space;
@@ -64,7 +64,7 @@
- const int space_ship[10][12]={
+ const int space_ship[10][12]={
{0,0,0,0,0,0,0,0,0,0,0,0},
{0,0,0,1,1,0,0,0,0,0,0,0},
{0,0,0,1,1,0,0,0,0,0,0,0},