Returns the raw value from the temperature sensor.
Returns true if the sensor value has changed. Otherwise, returns false.
Several examples are available to show how to use this driver.
Light Sensor with Firmata Example
Code for this example can be found in the
zorg-firmata repo on GitHub.
- Connect the light sensor between analog pin 5 (or any analog pin or your choosing).
- Connect a 10 K Ohm pull-down resistor between ground (GND) and the analog pin you selected.