Re: bitwise invert/complement?
Posted: Fri May 13, 2022 1:15 pm
Thanks Ben,
We've encountered this before with simulation... However, I'd tested on an Arduino too - where I would have expected it to work okay. I maybe had a typo in the numbers - I'll have another play....
An oddity - as the byte should be unsigned - when I print to UART on Arduino it displayed as -103 which means the extension to long is incorrect?
Martin
We've encountered this before with simulation... However, I'd tested on an Arduino too - where I would have expected it to work okay. I maybe had a typo in the numbers - I'll have another play....
An oddity - as the byte should be unsigned - when I print to UART on Arduino it displayed as -103 which means the extension to long is incorrect?
Martin