'----------------------------------------------------------------------------------------------------- $crystal = 12000000 $baud = 4800 Wait 1 Print "Good Day!" Do ' now it will check the three keys If P3.3 = 0 Then 'TP1 key was pushed Waitms 250 Print "ABCDEFGHIJKLMNOPRSTUVZ" Elseif P3.2 = 0 Then 'TP2 key was pushed Waitms 250 Print "1234567890" Elseif P3.0 = 0 Then 'TP3 key was pushed Waitms 250 Print Acc 'prints accumulator value End If Loop '-----------------------------------------------------------------------------------------------------