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:
- 6:83feebd43ec8
- Parent:
- 5:7881d6e0732f
- Child:
- 7:0f62c513f003
diff -r 7881d6e0732f -r 83feebd43ec8 main.cpp --- a/main.cpp Tue Oct 22 03:38:53 2019 +0000 +++ b/main.cpp Tue Oct 22 03:50:13 2019 +0000 @@ -41,18 +41,26 @@ // myled4 = 1; wait(0.2); // myled1 = 0; -// myled2 = 0; myled3 = 0; // myled4 = 0; wait(0.2); + // ** myled2 = 1; // myled4 = 1; wait(0.2); // myled1 = 0; -// myled2 = 0; myled2 = 0; // myled4 = 0; wait(0.2); + // ** + myled1 = 1; +// myled4 = 1; + wait(0.2); +// myled1 = 0; + myled1 = 0; +// myled4 = 0; + wait(0.2); + // ** //} // for (int cv = 0; cv < 3 ; cv++) { // myLedBlink(cv);