LPC2148 basic programming tutorial: In the following LPC2148 tutorial i used books to learn fundamental knowledge about Embedded system. After that i install Keil compiler and Proteus simulator tool to implement following basic LPC2148 programming tutorial:
Interfacing of LCD with LPC2148 : In this tutorial LCD is interfaced using ARM(LPC2148) controller. If you want to learn more kindly see tutorial on youtube as well.
>> Switch interface with LPC2148C Code: /* Connection of LCD data PO.0 to P0.7 control PO.8 to P0.15 */
#include<lpc213x.h> #define rs (1<<8) #define e (1<<9)
void delay(unsigned long int h) { unsigned long int i,j; for(j=0;j<h;j++) for(i=0;i<5000;i++); }