I was working on some bitwise manipulation on a timer control register in Arduino and I noticed that when I want to clear the bit CS11 in the register TCCR1B then
TCCR1B &= (0<<CS11)
will not work but the following works perfectly
TCCR1B &= ~(1<<CS11)
Why does the first (0<<CS11) method not work? I found several pages explaining how to do this and the second method is always mentioned, but I did not find any explanation why the first method does not work. Thanks for your assistance!