GroupA / Mbed 2 deprecated WaG_final

Dependencies:   mbed

Fork of Lab_6_WaG by GroupA

Revision:
72:aec869655869
Parent:
42:6cba679a4ee4
diff -r 6ced854bebb2 -r aec869655869 display.cpp
--- a/display.cpp	Mon Apr 23 20:16:41 2018 +0000
+++ b/display.cpp	Mon Apr 23 21:21:29 2018 +0000
@@ -163,6 +163,7 @@
     while (uti_chk_ubutton() == 0) {
         for (int i = 1; i <= 128; i = i * 2) { 
             led_command = 0x0500 + i;
+            pc.printf("led_command: %d\n", led_command);
             spi_send(as1107, led_command); //light up LED[i]
             wait(0.1);
             spi_send(as1107, 0x0500); //turn off LED[i]