8000 No LCD causes error · Issue #3 · alexmacrae/SamplerBox · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
No LCD causes error #3
Open
Open
@rienheuver

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0