Action
Instruct the compiler to set a new baud rate at run time.
Syntax
BAUD = var
Remarks
Var |
The baud rate that you want to use. |
var : Constant.
When you want to use a crystal/baud rate that can't be selected from the options, you can assign this special variable.
Do not confuse it with the $BAUD directive!
See also
Example
$BAUD = 2400
$CRYSTAL = 14000000 ' 14 MHz crystal
PRINT "Hello"
BAUD = 9600
Print "Hello"
END