Some random attempts at programming the retro console

Dependencies:   LCD_ST7735 mbed

Fork of RETRO_Pong_Mod by G. Andrew Duthie

Revision:
8:c63981a45c95
Parent:
7:c0f12f624832
Child:
9:5c4a3e89a713
--- a/Game.h	Fri Feb 27 20:21:32 2015 +0000
+++ b/Game.h	Sat Feb 28 00:04:52 2015 +0000
@@ -2,9 +2,10 @@
 #include "Color565.h"
 #include "font_IBM.h"
 #include "LCD_ST7735.h"
-
+#include "MusicEngine.h"
 #pragma once
 
+void playSong();
 class Game {    
     static const char* LOSE_1;
     static const char* LOSE_2;
@@ -56,6 +57,7 @@
     AnalogIn ain;
     I2C i2c;
     LCD_ST7735 disp;
+    MusicEngine music;
     
     void readRegisters(char address, char* buffer, int len);
     int writeRegister(char address, char value);
@@ -73,7 +75,6 @@
     void initializeBall();
     
     void drawString(const char* str, int y);
-    
     void clearBall();
     void drawBall();
     void updateBall();