Class LightSensor
In: lib/sensors/light_sensor.rb
Parent: Sensor

Methods

Public Class methods

Public Instance methods

Get the current light level as a float from 0 to 1.0. 1.0 is maximum, 0 is minimum.

[Validate]