GroupA / Mbed 2 deprecated Lab_6_WaG

Dependencies:   mbed

Fork of WaG by GroupA

Revision:
40:4e82369f337c
Parent:
39:abf211b17e3c
Child:
41:9b293b14b845
--- a/main.cpp	Fri Mar 23 20:16:24 2018 +0000
+++ b/main.cpp	Fri Mar 23 21:24:26 2018 +0000
@@ -46,9 +46,6 @@
 
 int main(void) {
     initial_setup(as1107);
-    char bcd[4];
-    char input;
-    int display_number;
     
     //set all digits to zero
     spi_send(as1107, 0x0100);
@@ -57,6 +54,10 @@
     spi_send(as1107, 0x0400);
 
     pc.printf("Press user button to test.\n");
-    test_target_leds();
-    pc.printf("LED's tested");
+    
+    //test_target_leds();
+    //pc.printf("LED's tested");
+    
+    test_phototransistors();
+    pc.printf("Phototransistors tested");
 } 
\ No newline at end of file