Ian Rogers
- Joined Dec 12, 2012
- 1,136
These are not the same... You do know that don't you... while you have the compiler up..SPBRG = 416 & 0xFF; -->Gives the same warning: (751) arithmetic overflow in constant expression
SPBRGH = 416 >> 8; --> has no complaints
SPBRG = (uint8_t)416 & 0xFF; <-- does this give a warning?