'Demonstrates the Serout command input 1 'Sensor to monitor main serout S_OUT,i9600,["Button=",dec In1,10,13] 'Send the state of pin 1 to Serial port pause 50 'Just to kill some time goto main