Solved:
Had to use the GPIO number 20, rather than D7 in the definitions and controls.
Would like to understand why if anyone cares to reply as I find the An/Dn vs GPIOn definition use seems to be somewhat random.
Solved:
Had to use the GPIO number 20, rather than D7 in the definitions and controls.
Would like to understand why if anyone cares to reply as I find the An/Dn vs GPIOn definition use seems to be somewhat random.