cancel
Showing results for 
Search instead for 
Did you mean: 

I defined an array and I assigned some hex elements but, if I watch at the array, these value appear in dec not in hex. Why? I need to store hex, how can I do?

GMart.6
Associate II
 
4 REPLIES 4
MM..1
Chief II

0x

GMart.6
Associate II

I wrote 0x. I used this expression: uint16_t array [ ] = {0x81} and the stored value is 129

This is perfectly right 0x81=129, when you need see watch in hex switch mode for show , but value is still right

thank you