Sha256: 1a04418028b6398e4cb07e82002c5d47099bd930e499bad9e7859d2aa04f83da

Contents?: true

Size: 212 Bytes

Versions: 4

Compression:

Stored size: 212 Bytes

Contents

#!/usr/bin/ruby
require "lignite"

Lignite::DirectCommands.run do |_dc|
  ui_write_led(Lignite::LED_RED_FLASH)
  sleep 3
  ui_write_led(Lignite::LED_ORANGE_PULSE)
  sleep 3
  ui_write_led(Lignite::LED_GREEN)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lignite-0.6.0 examples/lights.rb
lignite-0.5.0 examples/lights.rb
lignite-0.4.0 examples/lights.rb
lignite-0.3.0 examples/lights.rb