Hello,

I want to set exclusively 3 bits on a PORT.

Let's say I have PORTB = %10011001 and want to set ONLY the three LSB.

I can use PORTB = PORTB | 7, I get %1001111 and this is fine.

How do I do if I want to change from %10011001 to %00001001?