Project 2
The project code comes in two parts for two different arduinos. //mastercode //Controls the LCD arduino for movement #include <LiquidCrystal.h> int buttonVal = 0; int buttonNum; boolean lastButton = false; boolean currentButton = false; int tMode = 0; // default dist const int button = 720; int vt = 0; LiquidCrystal lcd (8, 9, 4, 5, 6, 7); //creates up arrow byte up[8]= { B00100, B01110, B10101, B00100, B00100, B00100, B00100, B00100, }; //creates down arrow byte dow[8]= { B00100, B00100, B00100, B00100, B00100, B10101, B01110, B00100, }; //creates right arrow byte ri[8]= { B01000, B00100, B00010, B00001, B00010, B00100, B01000, B00000, }; //creates left arrow byte lef[8]= { B00010, B00100, B01000, B10000, B01000, ...