I am not able to interface LCD16X2 with MS51FB9AE nuvoton MCU which is similar to N76E003, can anybody help me with that?.
my lcd pins connection is as follows:
RS - P04
EN - P03
D4 - P01
D3 - P00
D2 - P10
D1 - P11my lcd pins connection is as follows: RS - P04
D1 - P11
aXr amaR said: I have used only Arduino IDE
Arduino is open-source - so why not look at the Arduino source to see how Arduino does it?
Thanks for replying Andy, can you please Help me with the code, I tried and failed.
Again, what have you tried?
Where has it failed?
What investigation / testing / debugging have you done to find the problem ?
And again, none of this is new - there are plenty of guides & examples already out there.
Before diving into the LCD, have you done the basics first: Microcontroller Getting Started.
https://www.electronicwings.com/8051/lcd16x2-interfacing-in-4-bit-mode-with-8051#:~:text=16x2%20LCD%20Display-,4-bit%20Mode,-bit%20(nibble)%20format.&text=Only%204%20data%20(D4%20-%20D7,GPIO%20Pins%20of%20the%20controller.
Followed this tutorial, but here he has used P1 as data pins, but in my PCB I have used two different port pins how to write code for that ?
These are my pins, I am not getting any solution
Go on.
Toggling one pin is the same as toggling another.
Did you not prototype this before committing to a PCB design?
Seems a rather bizarre choice of pins
It's Working now, this is prototype PCB only
That's good.
So, for the benefit of others who may come along with the same question, please describe what you had to do to make it work.