If you are using it in 8-bit mode then you just need to cast the result to a char, which is a signed datatype. 0x00..0x7F represents 0 to +127, 0xFF..0x80 represents -1..-128
If you are using it in 8-bit mode then you just need to cast the result to a char, which is a signed datatype. 0x00..0x7F represents 0 to +127, 0xFF..0x80 represents -1..-128