NEW 1 P1=255 2 A=KEY 3 IF A=0 2 4 HEX 5 PRINT P1 6 PRINT " " 7 DECIMAL 8 PRINT P1 9 PRINT 13 10 PRINT 10 11 GOTO 2 this line and the lines below are comments and can be removed with a text editor or the errors caused by trying to upload them can be ignored ------------------------------- readp1.tmb waits for any character from the serial port and responds with the value of P1 in hexadeciaml and decimal