Hi folks, I’m encountering a weird compiler error when compiling for Photon (‘A6’ was not declared in this scope).
It has no problems with A0 - A5, and A7…
Copy and paste this:
const int LDRPin0 = A0;
const int LDRPin1 = A1;
const int LDRPin2 = A2;
const int LDRPin3 = A3;
const int LDRPin4 = A4;
const int LDRPin5 = A5;
const int LDRPin7 = A7; //WKP
const int LDRPin6 = A6; //DAC1
void setup() {
}
void loop() {
}
Thoughts @ScruffR?