|
|
|
@@ -54,7 +54,9 @@ SPI_LEDs::SPI_LEDs(int _gpio, int length) : |
|
|
|
.cs_ena_posttrans = 0, // moot |
|
|
|
// Datasheet implies 3.2 MHz => 1.25 us / 4 |
|
|
|
// We can get away with 4.4_ MHz => 900 ns / 4 |
|
|
|
.clock_speed_hz = 3200000, |
|
|
|
// HOWEVER, better implementations divide 1.25 us into thirds! |
|
|
|
// Thus, 2.4 MHz has the same H times and slightly longer L times. |
|
|
|
.clock_speed_hz = 2400000, |
|
|
|
.input_delay_ns = 0, // moot |
|
|
|
.spics_io_num = -1, |
|
|
|
.flags = 0, // Keep it MSB first |
|
|
|
|