Skip to content

LCD hangs at initialization #18

@ghost

Description

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions