Hello,
I download a 1280 ranging demo. I the code, valLsb value is read from the RangingResult register, and then the distance is calculated like this,
val = ( double )SX1280complement2( valLsb, 24 ) / ( double )SX1280GetLoRaBandwidth( ) * 36621.09375;
this is not the same as is in the 1280 datasheet.
Does anyone know the differences? What does 36621.09375 stand for?
Thanks a lot!
Sun Dayang