Instructions
Read more- Use the Particle IDE and add a library named TM1637Display to the code attached.
- No schematics necessary: put the cable into D2 on the Base Shield and other side into the Display - its one way.
- Flash the code - be happy with your first red colored clock on a 7 segment display. You can customize the brightness in setup and center colon (blink or constant).
The photon used included functions to get the time. Top hardware like an RTC is not necessary. The summary costs are round about $23.
The determined time is made available in an array by the mathematical modulo function (residual value determination), and thus assigned to the individual digits (counted from the left 0-3 instead of 1-4).
Comments
Please log in or sign up to comment.