/*Program written for DuinoKitWiring guide:NANO D2 -> LCD D7NANO D3 -> LCD D6NANO D4 -> LCD D4NANO D5 -> LCD D4NANO D11 -> LCD ENANO D12 -> LCD RSLCD GND -> LCD R/W -> LCD -LED -> NANO GNDNANO D13 -> Button (right)Button (left) -> NANO GND */#include <LiquidCrystal.h>//LiquidCrystal lcd(12, 11, 5, 4, 3, 2);// ( RS, E, D4, D5, D6, D7)LiquidCrystal lcd(2, 3, 4, 5, 6, 7);// ( RS, E, D4, D5, D6, D7)void setup() { lcd.begin(16, 2); digitalWrite(13,HIGH); // Use the internal pull-up resistor ClearName(); randomSeed(analogRead(0)); }void loop() { if(digitalRead(13) == LOW) { lcd.clear(); lcd.setCursor(0, 0); lcd.print("The Answer is: "); lcd.setCursor(0, 1); String words1[] = { "Yes, Go for it!", "Deny it Happened", "Forget it!", "Maybe", "No", "Never Again" , "Ask Later", "Don't Tell Anyone", "Keep Dreaming", "Most Certainly", "Uh huh!", "I'll never tell." , "", "", "", "", "", "" , "", "", "", "" }; int amount = 12; //Amount of items in the array delay(1000); lcd.print(words1[random(0, amount)]); delay(4000); ClearName(); } }void ClearName() { lcd.clear(); lcd.print(" DuinoKit"); digitalWrite(6,HIGH); lcd.setCursor(0, 1); lcd.print(" Fortune Teller"); digitalWrite(6,HIGH);}