Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Lab_6_WaG by
Diff: display.cpp
- 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]
