Hi,
I am wading though part of a program, which is 'helping' me convert and write an Oshonsoft program.
There is a part:
uint8 addr =
What does uin8 do please? How do I convert it to Oshonsoft?
Camerart.
hi C.
Clip:
Unsigned Integers of 8 bits. A uint8 data type contains all whole numbers from 0 to 255. As with all unsigned numbers, the values must be non-negative. Uint8's are mostly used in graphics (colors are always non-negative).
hi C.
Clip:
Unsigned Integers of 8 bits. A uint8 data type contains all whole numbers from 0 to 255. As with all unsigned numbers, the values must be non-negative. Uint8's are mostly used in graphics (colors are always non-negative).
You also need to realise that uint8 is some shorthand written by programers to enable themselves to be lazy.
unsigned char = uint8... as Eric said 8 denotes the bits...
int is a word in Oshonsoft.... But!! int could be unsigned or signed so Oshonsoft may clip it... Clip it???? I hear you say..
Take the size 0 ~ 65535 this is a 16 bit integer..... -32768 ~ +32767 is a signed 16 bit integer... Normally unsigned is assumed in the programming world, but for a few numpties ( who will probably whinge here ) it isn't!!
So UINT8 is 8 bit unsigned and INT is 16 bit unsigned "signed means it can go negative..."