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

apps/stats.py / is wrong #636

Open
Farraj007 opened this issue Oct 30, 2024 · 0 comments
Open

apps/stats.py / is wrong #636

Farraj007 opened this issue Oct 30, 2024 · 0 comments

Comments

@Farraj007
Copy link

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'

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

1 participant