//Interface the DHT11 Temp & Humidity sensor and display humidity and temperature
//in Celsius, Fahrenheit, and Kelvin on a 20x4 character LCD
//#include <dht.h>
//#include <LiquidCrystal.h>
//variable declarations
const int cookies = 11;
int cookiecount = 1;
String fortune[cookies] = {
"Has anybody seen Mike Hunt?",
"A Smith & Wesson beats 4 aces.",
"A bad compromise is better than a good battle. -- Russian proverb",
"A bird in hand is worth two in the bush. -- Cervantes",
"What will Windows do for me? Oh heck off.",
"Are you the real Batman?",
"A bird in the bush can't relieve itself in your hand.",
"A bright cook may be little more than a flash in the pan.",
"A clash of doctrine is not a disaster - it is an opportunity.",
"A dog is for life, not just for dinner - Happy Garden Chineese take away.",
"A conclusion is where you got tired of thinking."};
//LiquidCrystal lcd(RS,EN,D4,D5,D6,D7); //set Uno pins that are connected to LCD, 4-bit mode
void setup() {
//lcd.begin(20, 4); //set 20 columns and 4 rows of 16x2 LCD
}
void loop() {
if (cookiecount > cookies) {
cookiecount = 1;
} else {
cookiecount = cookiecount + 1;
}
//lcd.print(message[cookiecount]);
//print(message[cookiecount]);
Serial.begin(115200);
//Serial.print("Hello");
Serial.print(fortune[cookiecount]);
delay(1000);
Serial.print(" ");
}