Module: CheekyPi

Defined in:
lib/cheeky-pi.rb,
lib/cheeky-pi/color.rb,
lib/cheeky-pi/light.rb,
lib/cheeky-pi/factory.rb,
lib/cheeky-pi/version.rb,
lib/cheeky-pi/animation/base.rb,
lib/cheeky-pi/animation/fade.rb,
lib/cheeky-pi/animation/cycle.rb,
lib/cheeky-pi/animation/throb.rb,
lib/cheeky-pi/light_interface.rb

Defined Under Namespace

Modules: Animation, Factory Classes: CheekyPi, Color, Light, LightInterface

Constant Summary collapse

COLOR =
{
  off:    [0, 0, 0],
  black:  [0, 0, 0],
  red:    [255, 0, 0],
  green:  [0, 255, 0],
  blue:   [0, 0, 255],
  yellow: [255,255,0],
  aqua:   [0,255,255],
  purple: [255,0,255],
  white:  [255,255,255],
}
VERSION =
"0.0.3"

Class Method Summary collapse

Class Method Details

.newObject



18
19
20
# File 'lib/cheeky-pi.rb', line 18

def self.new
  CheekyPi.new
end