Prompt
Prompt
I would like your help designing a binary clock using NeoPixels with MicroPython The clock will have six columns. Column 1 is for the hours tens digits. Column 2 is for the hours one digits. Column 3 is for the minutes tens digits Column 4 is for the minutes ones digits Column 5 is for the seconds tens digits Column 6 is for the seconds ones digits
Column 6 (seconds ones) starts a index=0 and is 4 pixels high Column 5 (seconds tens) starts index=4 and is 3 pixels high Column 4 (minutes ones) starts at index-7 and is 4 pixels high Column 3 (minutes tens) starts at index=11 and is 3 pixels high Column 2 (hours ones) starts at index=14 and is 4 pixels high Column 1 (hour tens) starts at index=18 and is 2 pixels high
Put the least significant bit at the bottom of the column. Please generate a MicroPython application that shows the time. Use the following preamble.
Preamble
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
Full Program Generated
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
|