Skip to content

Instantly share code, notes, and snippets.

View NST-Don's full-sized avatar

Don O NST-Don

  • Thailand
View GitHub Profile
@AlexanderSavochkin
AlexanderSavochkin / SimpleThermometer.ino
Last active May 28, 2024 18:06
Simple arduino 2-sensors (DS18B20) termometer + I2C LCD sketch
//I2C bus support
#include <Wire.h>
//I2C
#include <LiquidCrystal_I2C.h>
//OneWire bus suport
#include <OneWire.h>
//DS18B20 temperature sensor support
#include <DallasTemperature.h>
//DS18B20 sensor pin
#define ONE_WIRE_BUS 8