2021-08-10 01:23 AM
My problem is simple 3 week ago i created an uint_8 value = 128 all work fine i can see 128
2 week ago now i see -127 so i changed my uint8_t to char and everything work i see 128 again
1 week ago i see -127 so i changed again to unsigned char and everything work i see 128 again
but now once again i see -127 when i create an unsigned char = 128. can someone explain to me how that can be possible
Thanks for you'r help .
Alexis.
Solved! Go to Solution.
2021-08-10 02:42 AM
It's not a bug, it's an Eclipse feature.
It shows the correct value when using number format Default, but interpretes it as (signed) integer with number format Decimal.
Regards
/Peter
2021-08-10 02:42 AM
It's not a bug, it's an Eclipse feature.
It shows the correct value when using number format Default, but interpretes it as (signed) integer with number format Decimal.
Regards
/Peter
2021-08-10 04:07 AM
I was a litte bit lost due to the fact that the display changed when i changed from uint8_t to char or unsigned char but yes i m feeling a little silly
Thank you !