Peter's version

Fork of ScoreCount by George Cochrane

Revision:
4:7cec137649a0
Parent:
3:8e42915e7375
Child:
5:a50e02fc49cd
--- a/main.cpp	Thu May 02 13:35:41 2013 +0000
+++ b/main.cpp	Thu May 02 16:07:04 2013 +0000
@@ -2,6 +2,7 @@
 #include "TSISensor.h"
 #include "TextLCD.h"
 #include "process_signal.h"
+#include "reciever.h"
 
 TSISensor tsi;
 
@@ -63,7 +64,7 @@
     
     int signal;                                     //Signal input here!
     
-    signal=1;
+    signal=Interrogate();
     
     hit= process_signal(signal);
 
@@ -102,6 +103,7 @@
 end:
 
 Blue=0;
+Green=0; 
 lcd.cls();
 lcd.locate(0,0);
 lcd.printf(" - GAME  OVER - ...you suck");