Convert small 64bit signed integer into a high and low byte ?


Author Message
DigitalDreams
Regular Member

Joined: 03/05/2025
Location: United Kingdom
Posts: 65
Posted: 12:53pm 03 May 2026      

  phil99 said  As 24 bit ADC values greatly exceed the accuracy of the sensors, perhaps try leaving out the least significant bytes as they will be mostly noise.

What sensor are you using? I will have a look at the datasheet to see what is easiest.


Keep forgetting the << shift function, must do a speed comparison...

Bosch BMP581. Early days yet loving the full pressure resolution oversampled x64 so wont be ignoring the lower byte. Impressing folk when turning pressure into tone and hearing it smoothly change as my Picocalc is simply raised from floor to ceiling 😎.