Just what I said - pins A6 and A7 are only usable with
valA6 = analogRead(A6);
valA7 = analogRead(A7);
They do not support analogWrite, digitalRead, digitalWrite - there is no support on the '328P chip for those.
Just what I said - pins A6 and A7 are only usable with
valA6 = analogRead(A6);
valA7 = analogRead(A7);
They do not support analogWrite, digitalRead, digitalWrite - there is no support on the '328P chip for those.