ESP32C3 SPI blocks
I am trying MicroZig on my esp32c3. The default ws2812 example works fine, but after I change the number of LED to 2, the SPI blocks.
Code like this:
```zig
var ws2812: WS2812(.{
.max_led_count = 64,
.Datagram_Device = hal.drivers.SPI_Device,
}) = .init(
spi_dev,
hal.drivers.clock_device(),
);
// ...
const red: Color = .{ .r = 10, .g = 0, .b = 0 };
try ws2812.write(&.{red, red});
```
All other code remains unchanged.
Any code after `ws2812.write` won't execute.
Does anyone have any ideas?
3 条评论