to verify the position of the LEDs
This is an attempt to address all the 25 LEDs. This has been done but only on rows. I need to arrange the column calls in some form of array which can be indexed.
Diff: main.cpp
- Revision:
- 3:c6d14249d784
- Parent:
- 2:71c7441b477a
- Child:
- 4:0dc3e04090ab
--- a/main.cpp Mon Oct 21 13:16:12 2019 +0000 +++ b/main.cpp Mon Oct 21 13:42:07 2019 +0000 @@ -14,9 +14,9 @@ led = 0; wait(0.2); } - +// https://www.iot-programmer.com/index.php/books/27-micro-bit-iot-in-c/chapters-micro-bit-iot-in-c/54-micro-bit-iot-in-c-the-led-display DigitalOut col0(P0_4, 0); - +DigitalOut col3(P0_6,0); DigitalOut myled3(P0_15); // something DigitalOut myled4(P0_11); // something DigitalOut myled1(P0_13); // something