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 WaG by
Diff: main.cpp
- Revision:
- 32:0dc2b4a3eee6
- Parent:
- 28:0736dfa41aab
- Child:
- 33:0b5188ea34e8
--- a/main.cpp Thu Mar 22 15:42:51 2018 +0000 +++ b/main.cpp Thu Mar 22 16:06:21 2018 +0000 @@ -48,19 +48,11 @@ int display_number; //set all digits to zero - spi_send(as1107 0x0100); - spi_send(as1107 0x0200); - spi_send(as1107 0x0300); - spi_send(as1107 0x0400); + spi_send(as1107, 0x0100); + spi_send(as1107, 0x0200); + spi_send(as1107, 0x0300); + spi_send(as1107, 0x0400); - jog_cw.mode(PullUp); - jog_ccw.mode(PullUp); - while(1) { - if (jog_ccw == 0) { - stp_step(STP_CCW); - } - if (jog_cw == 0) { - stp_step(STP_CW); - } - } + test_target_leds(); + pc.print("LED's tested"); } \ No newline at end of file