GroupA / Mbed 2 deprecated Lab_6_WaG

Dependencies:   mbed

Fork of WaG by GroupA

Revision:
39:abf211b17e3c
Parent:
38:57af77435ae1
Child:
40:4e82369f337c
--- a/main.cpp	Fri Mar 23 19:32:39 2018 +0000
+++ b/main.cpp	Fri Mar 23 20:16:24 2018 +0000
@@ -34,12 +34,13 @@
 BusOut mux_select(MUX_S0, MUX_S1, MUX_S2, MUX_S3);
 
 
+
 struct spi_cfg as1107{
-    SPI_AS1107_ID;
-    DSP_AS1107_NCS;
-    SPI_NO_ID;
-    AS1107_SPI_FREQ;
-    AS1107_SPI_NO_BITS;
+    SPI_AS1107_ID,
+    DSP_AS1107_NCS,
+    SPI_NO_ID,
+    AS1107_SPI_FREQ,
+    AS1107_SPI_NO_BITS,
 };
 
 
@@ -55,6 +56,7 @@
     spi_send(as1107, 0x0300);
     spi_send(as1107, 0x0400);
 
+    pc.printf("Press user button to test.\n");
     test_target_leds();
     pc.printf("LED's tested");
-}
\ No newline at end of file
+} 
\ No newline at end of file