You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The programmer can use the calibration property to correct sensor readings that may be influenced by the location of the sensor, such as when the sensor is mounted into a box.
Code
-- Attach BDE0600G sensor to an external ADC (ADS1115) / channel 0s=sensor.attach("BDE0600G", adc.ADS1115, 0)
-- If your calibration differ from de default values uncomment the-- following lines and set your values-- s:set("calibration", 0)whiletruedoprint(s:read("temperature"))
tmr.delayms(500)
end