Action
Instruct the compiler to override the baud rate setting from the options menu.
Syntax
$BAUD = var
Remarks
Var |
The baud rate that you want to use. Var must be a numeric constant. |
When you want to use a crystal/baud rate that can't be selected from the options, you can use this compiler directive.
You must also use the $CRYSTAL directive.
These statements always work together.
In the generated report you can view which baud rate is actually generated.
But the baud rate is only shown when RS-232 statements are used like PRINT, INPUT etc.
See also
Example
$baud = 2400
$crystal = 14000000 ' 14 MHz crystal
Print "Hello"
End