Embedded C Learner
Making embedded C easy.............
Sunday, September 4, 2011
(Atmel Atmega16) Blink LED!!!
When you work on AVR I/O ports you have to take care of 3 register
1)DDR:- to set the direction (either input or output)
2)PORT: write your output data to PORT
3)PIN: Read your data input from PIN
You can download code from
here
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment