' Program: VFDHELLO ("Hello World" demo for VFD/BS2)
' This program shows how to clear the screen
' and print text to the VFD.

' ===========Define Instruction(s)==========
CLRVFD con 12 ' Clear screen.

' Uncomment (remove the ' mark from) the appropriate
' baud rate to match VFD baud setting. Comment
' out the others.
'BAUD con $418D ' 2400 baud, BS2.
BAUD con $4054 ' 9600 baud, BS2.

' ===========Begin demonstration=======
pause 1000 ' Wait a sec.
serout 0,BAUD,[CLRVFD,"Hello World!"] ' Clear, print text.
STOP ' Done.