Pixaxe will only allow integer calculation and then only with values less than 65535.
I'm trying to process some negative temperature values from a DS18B20 and I need to divide by a fraction as follows:
I have 16 bit word W1 which contains FF5E. I want to subtract that from FFFF then divide the result by 0.0625.
Any ideas
I'm trying to process some negative temperature values from a DS18B20 and I need to divide by a fraction as follows:
I have 16 bit word W1 which contains FF5E. I want to subtract that from FFFF then divide the result by 0.0625.
Any ideas