We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have uVision3 and i program microkontroler LPC936 and i dont know how to set register for pins. How my microkontroler recognize pins to connect LCD. Please can you help me. I think that set P1... is OK.
Thanks Ales
Have you looked through the example applications that came with uVision3? From them you can not only see how to set up your I/O pins, but you will also find the solution to a number of other problems you are likely to run into.
In program I include <reg936.h> file if is thats ok and then sbit LCD_AD4 = P0^0; sbit LCD_AD5 = P0^1; sbit LCD_AD6 = P0^2; sbit LCD_AD7 = P0^3; sbit LCD_RS = P0^4; sbit LCD_EN = P0^5; sbit LCD_RW = P0^6;