code error
i working on automating humidifier arduino projects site. code given seems have error. can me fix it? (i'm no @ programming.) code: [select] #include <dht.h> #include <liquidcrystal.h> // include library code: #include <liquidcrystal.h> #include "dht.h" // set dht pin #define dhtpin 8 // initialize library numbers of interface pins liquidcrystal lcd(12, 11, 5, 4, 3, 2); #define dhttype dht11 dht (dhtpin, dhttype); void setup() { // set lcd's number of columns , rows: lcd.begin(16, 2); dht.begin(); // print message lcd. lcd.print("temp: humidity:"); } void loop() { delay(500); // set cursor column 0, line 1 // (note: line 1 second row, since counting begins 0): lcd.setcursor(0, 1); // read humidity float h = dht.readhumidity(); //read temperature in fahrenheit ...