Did this years ago with the POT command and any digital I/O pin.



Worked perfect, but the POT command will slow down a cyclic program.