hi to all in this forum,
I have to control a 40 chars x 4 lines LCD with my Arduino.
The LCD has this P/N: 40466.
I am asking if is there available a sample code to use as reference please ?
Any help is appreciated.
Thanks
regards,
Ambro
more info needed. picture? link to source/shop?
If this is your panel.
https://no.infinite-electronics.hk/datasheet/8a-MDLS-40466-SS-G-HV.pdf
Thanks a lot,
I see that the dispaly has two ENable pins . Does it mean that I have to change the ENable pin definition in accordance with line1/2 writing and line3/4 writing ?
Can I do that in the loop ?
thanks
Ambro
Wait for Bill Perry to wake up.
I don't think that HD44780 library supports 40x4
The Library Manager has Multilcd library
It should be pretty straightforward to handle 4 rows. e.g. lcd_1 for row#0, 1 and lcd_2 for row #2, 3.
I have never used and never even seen a 40x4.
David.
What you have is equivalent to two 40x2 devices, one placed above the other, with all of their pins in parallel except for the Enable pins.
You can run two instances of the standard LiquidCrystal library.
It would be similar in concept to what was described here: Can i connect two 16x4 lcd displays to arduino meg - Frequently-Asked Questions - Arduino Forum
Unfortunately the links to the photo locations have changed since that thread was active. Change the links from http://web.alfredstate.edu/weimandn/... to Don's Collected Technical Information... .
Edit: Here are the two modified links:
Two LED modules.
Four LED modules.
Don
thanks a lot for the assistance: it is great !
regards,
Ambro