Method: Ws2812::Basic#show

Defined in:
lib/ws2812/basic.rb

#showObject

Apply all changes since last show

This method renders all changes (brightness, pixels) done to the strand since last show



106
107
108
109
# File 'lib/ws2812/basic.rb', line 106

def show
	resp = ws2811_render(@leds)
	fail "show failed with code: " + resp.to_s unless resp.zero?
end