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 ATMEGA32 programming tutorial:
Interfacing of LCD with ATMEGA32 : In this tutorial LCD is interfaced using ARM(ATMEGA32) controller. If you want to learn more kindly see tutorial on youtube as well.
>> Switch interface with ATMEGA32 C Code: ///////////////////// pin defined /////////////////// #define LCD_DIR DDRD #define CTRL_DIR DDRB #define LCD PORTD #define RS PORTB.F0 #define E PORTB.F1 ///////////////////////////////////////////////////// #include"lcd.h"