ATMEGA32 basic programming tutorial: In the following ATMEGA32 tutorial i used books to learn fundamental knowledge about Embedded system. After that i install Atmel Studio compiler and Proteus simulator tool to implement following basic ATMEGA32programming tutorial:
Interfacing of Switch with ATMEGA32: In this tutorial LED is blink using Switch using ATMEGA32controller. If you want to learn more kindly see tutorial on youtube as well.
>> Switch interface with ATMEGA32 C Code: #define SW_DIR DDRD #define LED_DIR DDRB