I am using a photoresistor and my code errors out on the power pin line, this code worked before but I had a problem and had to rewrite the code to my Phonton and now I get this error when verifying.
Here is where I declare power:: int power = A5;
Here is my code line:: pinMode(power, OUTPUT);
Here is the error:: reference to 'power' is ambiguous
I just commented out that line, and photo resistor doesn't work without it. Not sure how to fix this error.