Method: Ws2812::Basic#count
- Defined in:
- lib/ws2812/basic.rb
#count ⇒ Object
Number of leds it’s initialized for
Method actually passes to low-level implementation for this value; it doesn’t use the parameter passed during construction
161 162 163 |
# File 'lib/ws2812/basic.rb', line 161 def count @channel.count end |