|From:||Hugo González Monteverde|
|Subject:||Re: [avr-gcc-list] Using PORTB with variables, PORTB = var|
|Date:||Tue, 23 May 2006 23:51:28 -0500|
|User-agent:||Mozilla Thunderbird 1.0.7 (Windows/20050923)|
Hiya, The var is an int.
and PORTB is an unsigned char. Any shifting will give you unexpected behavior. Mixing types will give you at most a warning, but no errors.
|[Prev in Thread]||Current Thread||[Next in Thread]|