I am trying to use an ADC port to get the signal from a PIR sensor.
I have in my script:
$PIR = GetADC(A7)
and I get this error message;
Error on line 26: Missing String Quotes or Invalid Expression: A
Is it possible to use this port for this purpose? If so, what is the proper syntax to use it?
ThanksSkip to comments