10 LET PinStatus = INP(889) 20 LOCATE 10, 1 30 PRINT PinStatus 40 GOTO 10