This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hi guys.
I am using a beaglebone black, running the default OS on it. I have written a driver to create a device for the LCD JHD162a( clone of HD44780, though the data sheet might vary, which I have pasted below). The driver is written for 4 bit mode LCD operations.
I am powering the LCD's Vcc, ground, backlight and contrast with a 5V power supply(9v through 5v voltage regulator 7805). I see black blocks on the LCD, when I set the contrast.
Now when I bring up my driver(insmod). I dont get anything on the screen when I try to write to the /dev/lcd file that got created when the lcd was brought up.
I have a doubt that the init sequence that I am using might not be correct. Could you please help me out by taking a look at the code and datasheet that I have pasted below. Any guidance would be much appreciated :)
Code: https://pastebin.com/uE64Z6Qw
Datasheet for JHD162a : https://www.rhydolabz.com/documents/display/JHD162A.pdf
Subreddit
Post Details
- Posted
- 6 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/AskElectron...