Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
You are viewing an older revision! See the latest version
ESP32 LM75B Bibliothek
The Generic_LM75 class will provide 9-bit (±0.5°C) temperature for any LM75-derived sensor. More specific classes may provide better resolution.
#include <Temperature_LM75_Derived.h> Generic_LM75 temperature; void setup() { while(!Serial) {} Serial.begin(9600); Wire.begin(); } void loop() { Serial.print("Temperature = "); Serial.print(temperature.readTemperatureC()); Serial.println(" C"); delay(250); }