Arduino Cookie Clicker on a Lcd
by RandomUsername10 in Circuits > Arduino
887 Views, 0 Favorites, 0 Comments
Arduino Cookie Clicker on a Lcd
Make Your Very Own Cookie Clicker,
But On Arduino
Gather the Parts
Wire It Up! (LCD)
Follow The Wire-Guide To hook up the LCD Display, With the Potentiometer.
Avoid Pins ~3, ~5, ~6
When Wiring
Add the Button Pannel
You Will Need Another Breadboard Or a large Breadboard To Fit all of the buttons.
This Part Is Not that Hard.
The Code!
Now Its Time to add some live to Cookie Clicker. Now I have already
Made some basic Code to get you Started. Lets Open Up Arduino Ide And Begin.
Copy And Paste This Code into a new sketch
1. Go to line 3 and change the pin numbers to the pin numbers that you have your lcd on.
Line 3 Is this line : LiquidCrystal lcd(13, 12, 11, 10, 9, 8);
2. Now Plug In your Arduino And Pres the Upload Button
How to Play
How To play:
The Middle Up Button Clicks the Cookie. The Left Button opens The
Upgrades Menu, And the left one Buys a upgrade.