GroveLightLM358 class

The Grove light sensor.

The Grove LM358 light sensor integrates a photo-resistor(light dependent resistor) to detect the intensity of light. The resistance of photo-resistor decreases when the intensity of light increases.

The dual OpAmp chip LM358 on board produces voltage corresponding to intensity of light(i.e. based on resistance value).

The output signal is analog value, the brighter the light is, the larger the value.

Constructors

GroveLightLM358(Mraa _mraa, MraaAioContext _context)
Construction

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values GroveLightValues
Get the raw and Lux light values and timestamp them.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited