I’m doing an intro to programming and we are interfacing an Arduino board with a Frankenboard; using switches, LEDs, a potentiometer and an LDR.
I just finished programming my LEDs to correspond with certain switches, as well as an “if” statement to program the POT and LDR to turn on a LED (successfully). But once I try and serial.print the values of the LDR and POT, the rest of my programming for the switches/LEDs no longer work.
I’m assuming this is a very simple problem but I can’t seem to figure it out.
DAT8921_Assignment_2_Part_1.ino (4.66 KB)