mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
changed the SPI frequency to 2 Mhz.
APA102 can handle MUCH higher frequencies than WS2801, so 2Mhz is no big deal for them Former-commit-id: 814faa648e4f39d7105710ff872bde00aaeaada9
This commit is contained in:
parent
4cdba8cdb6
commit
f950ec7df6
@ -126,7 +126,7 @@ void setup()
|
||||
SPI.begin();
|
||||
SPI.setBitOrder(MSBFIRST);
|
||||
SPI.setDataMode(SPI_MODE0);
|
||||
SPI.setClockDivider(SPI_CLOCK_DIV16); // 1 MHz max, else flicker
|
||||
SPI.setClockDivider(SPI_CLOCK_DIV8); // 2Mhz
|
||||
|
||||
// Issue test pattern to LEDs on startup. This helps verify that
|
||||
// wiring between the Arduino and LEDs is correct. Not knowing the
|
||||
|
Loading…
x
Reference in New Issue
Block a user