Skip to content

jannvck/tsl2561-rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

tsl2561-rb

Code Climate

TAOS TSL2561 lightsensor ruby library

Straightforward to use:

lightSensor = LightSensor.new("/dev/i2c-1")
lightSensor.turnOn
sleep(0.420)
luminosity = lightSensor.getLuminosity
puts "lux=#{luminosity.calcLux}"
lightSensor.turnOff

About

TAOS TSL2561 lightsensor ruby library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages