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


Author Message
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5906
Posted: 07:19am 16 Apr 2026      

Hi bfwolf,

That is the correct way to do it, but in MMbasic that means you will need to poll in a loop until you do not an I2C error anymore. So MMBasic is busy.

So it is not better than a simple "PAUSE 6" (unless a particular fast I2C chip is ready in 4ms).

Regards,

Volhout