Hi,
I want to learn how to use "CLEAR_BIT and SET_BIT".
Could you please give me some example to set/clear bit using above code?
All the best, Mehmet
What makes you think that?!
As noted, setting/clearing/testing individual bits is standard 'C' programming stuff - so check your 'C' textbook. Hint: think how the word "bitwise" might be relevant ...
www.avrfreaks.net/.../tut-c-bit-manipulation-aka-programming-101
Here are some 'C' learning & reference resources: blog.antronics.co.uk/.../
In addition to the standard 'C' facilites, some processors also have special facilities for accessing individual bits - fo details, you will need to study the documentaion for the processor in question.