Sends a variable in
hexadecimal format to the serial port.
var The variable to
The same rules apply to PRINTHEX as PRINT.
The PRINTHEX routine
can be used when you have a RS-232 interface on your uP.
See the manual for a design of an RS-232 interface.
The RS-232 interface can be connected to a serial communication port of
This way you can use a terminal emulator as an output device.
You can also use the build in terminal emulator.
PRINT , INPUTHEX
Dim x As Byte
INPUT x 'ask for var
PRINT x 'print it in
PRINTHEX "Hex " ; x 'print
it in hex format