diff --git a/lib/denko/spi/bus.rb b/lib/denko/spi/bus.rb index 319c867..d03b4e7 100644 --- a/lib/denko/spi/bus.rb +++ b/lib/denko/spi/bus.rb @@ -20,6 +20,11 @@ def listen(*args, **kwargs) args.unshift(spi_index) board.spi_listen(*args, **kwargs) end + + # This is for WS2812 strips on PiBoard. + def show_ws2812(*args) + board.show_ws2812(*args, spi_index: spi_index) + end end end end