Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createChar for HD44780 #45

Open
Cruiser79 opened this issue Jan 10, 2017 · 3 comments
Open

createChar for HD44780 #45

Cruiser79 opened this issue Jan 10, 2017 · 3 comments

Comments

@Cruiser79
Copy link

Cruiser79 commented Jan 10, 2017

In hd44780_i2c.go i found a commented function createChar, which seems to be the functionality of the display, to create an own character. Why is this method commented? It is a nice feature i need.

@mrmorphic
Copy link
Owner

I don't remember the exact reason; it would have been because it didn't work on a test device, or it needs more work. One thing that stands out is that it assumes only 8 locations, which probably won't hold for different display sizes. If you uncomment that locally, does it actually do what you want?

@Cruiser79
Copy link
Author

Till now i am in the finding phase for the right library. My display is on his way to me. So, i will try it. I thought, the reason was more clear.

@mrmorphic
Copy link
Owner

I found that sometimes I can get stuff working by writing to the hardware spec, but often when you get an actual device, it doesn't work according to the spec, because the hardware has some changes to it. I have found this on devices claiming to be HD44780 compatible, and also on some i2c devices. So some of the code is done by trial and error, and feedback from people like yourself who get an actual device to work. There are way too many devices for me to make them all work myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants