Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Thanks dear. The problem resolved. The problem was that the LCD two pins being used were of PWM channel 3 and the value set in the wpm control register was wrong due to which these pins were not behaving as normal IO pins. Now i will test the complete code with display on the inverter board...
In main of DSPIC i have just this code below,
#define Blink1 LATDbits.LATD0
#define Blink2 LATDbits.LATD1
#define LCD_E LATFbits.LATF2
#define LCD_RS LATFbits.LATF3
#define Data_Pin LATEbits.LATE4
#define Clk_Pin LATEbits.LATE5
main()
{
Lcd_CmdWrite(0x02); // Initialize Lcd...
I am very sorry that I have posted for the first time here and after sending my message i lost this thread.I was finding it to add details. I just caught it through my email. The Arduino code on the LCD attached with the lcd of the inverter board (purchased from Market) is working fine on the...
I have to interface 16 by 2 lcd with DSPIC30f2010 microcontroller via CD4015 shift register using only 4 wires (RS,EN,Data, CLK). I have done it in proteus using arduino but the same logic is not working on DSPIC30f2010.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.