byte_to_hex

Description

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

Definition

byte_to_hex(char *ptr, char val)

Library

LIB/str_byte_lib.bas

Usage

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