Shifting numbers in MMBasic


Author Message
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 11:55pm 10 Mar 2012      

don't know about this chip / sensor but some (many?) use twos complement numbers. Check out my post here on how to manage negative twos complement numbers or look in wikipedia. You would have to combine your bytes before processing as a twos complement.