printHex
 
Syntax


void printHex ( expression );

Description


This sends the hexadecimal string representation of the integer expression to the USB/serial port. Hexadecimal values contain 0-9, and A-F. The size of the result string depends on the integer type passed, it's not fixed.

Example

printHex ( 255 );    // will display FF 
   

See also