Skip to content

apps/stats.py / is wrong  #636

@Farraj007

Description

@Farraj007

when i use the stats.py the oled keep reloading and if i run the file manually we get this error and i read the documentation of the qwiic_micro_oled as doced here https://qwiic-micro-oled-py.readthedocs.io/en/latest/apiref.html and the used

get_lcd_width() instead of _LCDWIDTH but it's still not working

Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/jetbot/jetbot/jetbot/apps/stats.py", line 142, in
LCDWIDTH = qwiic_micro_oled._LCDWIDTH
AttributeError: module 'qwiic_micro_oled' has no attribute '_LCDWIDTH'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions