LM35 SENSOR - thilo-hub/Lua-RTOS-ESP32 GitHub Wiki

Specification

What Comments
Identifier LM35
Interface ADC
Provides temperature celsius degrees
Properties none
Datasheet

Code

-- Attach sensor using internal ADC / channel 6
s1 = sensor.attach("LM35", adc.ADC1, 6)

s1:read("temperature")

Back to sensor list