fluxcr v1.0.1

A library to use flux led light bulbs written in crystal

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

Repository

fluxcr

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 3
  • over 5 years ago
  • May 30, 2018
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 16:35:03 GMT

Languages