Skip to content

A library to use flux led light bulbs written in crystal

License

Notifications You must be signed in to change notification settings

elliotize/fluxcr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fluxcr

This is a

Installation

Add this to your application's shard.yml:

dependencies:
  fluxcr:
    github: elliotize/fluxcr

Usage

require "fluxcr"
finder = Fluxcr::LedFinder.new
leds = finder.all_leds
leds.get_statuses do |led, status|
  puts status.state
end

leds.turn_all_off
sleep 10
leds.turn_all_on

Development

Contributing

  1. Fork it ( https://github.com/[your-github-name]/fluxcr/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

A library to use flux led light bulbs written in crystal

Resources

License

Stars

Watchers

Forks

Packages

No packages published