class FadeRuby::Strip
Public Class Methods
new(length)
click to toggle source
Set up a new strip, giving the length in LEDs
@param [Fixnum] length number of LEDs
# File lib/faderuby/strip.rb, line 8 def initialize(length) length.times do pixels.push(FadeRuby::Pixel.new) end end