I am querying a device through an I2C buf for temp, I receive a hex value and I need to convert it to a decimal number to pass on to another device.
I need to convert for instance 0x21 to 33. I am using a char for both.
I need to convert for instance 0x21 to 33. I am using a char for both.
Comment