int_to_hex_str

Description

Convert 16 bit binary integer value to ASCII hex string equivalent leading zeros are omitted

Definition

int int_to_hex_str(char *ptr, uint val)

Library

LIB/str_int_lib.bas

Usage

On entry:
ptr is a pointer to a RAM buffer where the string is to be written
val is a 16 bit binary value to be converted
On exit: