This commit is contained in:
King Kévin 2016-04-15 12:07:20 +02:00
parent 61dfe244b7
commit 489a8ea5e3
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ The minutes passed sine the beginning of the hour are shown using green LEDs.
Whichever progress is higher will be shown on top of the other.
For example if it's 6:45, the first half of the circle will be blue, and an additional quarter will be green.
The seconds passed since the beginning of the minute are shown using a running red LED, similar to the seconds hand.
The red color might be added on top of the blue, or green color, then showing as violet or orange.
The red colour might be added on top of the blue, or green colour, then showing as violet or orange.
The (gamma corrected) brightness of the last LED shows how much of the hour, minute, or second has passed.
@ -43,7 +43,7 @@ Ideally the wall clock has a diameter of 32 cm for the 1 m LED strip to complete
Otherwise change the number of actually used LEDs in the source files.
Connect the 5 V power rail of the LED strip to the 5 V pin of the board.
Connect the DIN signal line of the LED strip to the MISO pin of the micro-controller on PA6.
SPI is used to efficiently shift out the LED color values to the WS2812b LEDs.
SPI is used to efficiently shift out the LED colour values to the WS2812b LEDs.
A custom clock is provided for this operation using channel 3 of timer 3 on pin PB0.
Simply connect this clock to the SPI CLK input on pin PA5.