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

LCD hangs at initialization #18

Open
ghost opened this issue Jul 11, 2018 · 0 comments
Open

LCD hangs at initialization #18

ghost opened this issue Jul 11, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 11, 2018

Hello! First of all, many thanks for your effort in bringing the LCD to us.

I am using Zerynth and its flavor of Python. I took your GpioLcd.py, and LcdApi.py, and went through them to change the machine.py references to the HAL of Zerynth. Eventually I got all the changes done and I got your test file to compile fine.

But there seems to be an issue with the

lcd = GpioLcd(rs_pin=2,
enable_pin=14,
d4_pin=17,
d5_pin=18,
d6_pin=21,
d7_pin=22,
num_lines=2, num_columns=16)

part. If I comment this out, execution goes on, but with this in, the execution hangs at this line.

I have wired everything as per your instructions, except the Enable to G11, as I don't see one on the ESP32 NodeMCU which I run. Therefore I have it on G14. I have also adjusted for my LCD1602 with just two lines and 16 columns. I see the 16 rectangles on the first line, when I connect the wires, so it's working technically, and I have tested in on an Arduino Nano, and got it running.

Another little change is that since I don't have a pot handy, I connected the V0 pin on the 1602 to ground on the ESP32.

I have a nagging feeling I am asking something terribly obvious, but I hope you have time to consider this question.

Many thanks!

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

0 participants