Let us look at the basics of 'C' for programming AVR Micrcontrollers in this tutorial. Simple stuff like setting and clearing bits is important to any project you do.

Setting a bit

Clearing a bit

Checking a bit

Toggling a bit