Action
Configures the PRINT statement.
Syntax
Config PRINT = pin
Config PRINTMODE = mode
Remarks
Pin |
The pin to use for the output control such as P3.0 |
Mode |
The mode of the control pin. SET or RESET. |
When you want to control a RS-485 device you need an additional pin to control the buffer direction. When the pin must be high during printing use SET. When it must be low during print use RESET.
Example
Config Print = P3.0 'this pin controls the buffer
Config mode = SET 'during PRINT this pin goes high.
Print "Hello"