Skip to content

No LCD causes error #3

Description

@rienheuver

The system currently doesn't support having no LCD at all. If you set both config options to false:
USE_HD44780_16X2_LCD = False
USE_HD44780_20x4_LCD = False
The system will crash on startup. This is (so far) only on debian (raspi) with system mode 2.

After some searching through the code, this happens with the following traceback:
HD44780_sys_2.py, line 44
HD44780_sys_2.py, line 56
{ some error about lcd not having a function clear() }
Because lcd wasn't instantiated since both options were set to false.

I think putting line 44 through 47 in an if-block would solve it, but I'm not familiar enough with the software yet to be sure it doens't break anything else. I'll be trying this out later.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions