hi all.
I use this sensor from Sensirion. Working library there > Arduino Playground - HomePage
Working code is there >
/*
- Query a SHT10 temperature and humidity sensor
- A simple example that queries the sensor every 5 seconds
- and communicates the result over a serial connection.
- Error handling is omitted in this example.
*/#include <Sensirion.h>
const uint8_t dataPin = 2;
const uint8_t clockPin = 3;float temperature;
float humidity;
float dewpoint;Sensirion tempSensor = Sensirion(dataPin, clockPin);
void setup()
{
Serial.begin(9600);
}void loop()
{
tempSensor.measure(&temperature, &humidity, &dewpoint);Serial.print("Temperature: ");
Serial.print(temperature);
Serial.print(" C, Humidity: ");
Serial.print(humidity);
Serial.print(" %, Dewpoint: ");
Serial.print(dewpoint);
Serial.println(" C");delay(5000);
}
now i want to create a menu to change min and max values and setpoint by user menu. my lcd is 16x2
#include <LiquidCrystal.h>
LiquidCrystal lcd(7, 6, 5, 4, 3, 2);
with buttons