BASIC stamp manual v2.2

5: BASIC Stamp Command Reference – AUXIO
BASIC Stamp Syntax and Reference Manual 2.2 www.parallax.com Page 131
IOTERM port ' Switch to main or aux I/Os
' -- depending on port
TOGGLE 3 ' Toggle state of I/O pin 3
' -- on main and aux, alternately
port = ~port ' Invert port
PAUSE 1000 ' 1 second delay
LOOP
END