07-25-2022, 09:01 PM
(07-25-2022, 12:37 PM)lhkp0480 Wrote: Hi Francesco,
Thank you for your reply.
I go to this step, it's look good:
and when go to this step:
"pi@moode:~/PeppyMeter $ cd /home/pi/PeppyMeter
pi@moode:~/PeppyMeter $ sudo python3 peppymeter.py > /dev/fb0"
and get an error :
"Traceback (most recent call last):
File "peppymeter.py", line 290, in <module>
pm.init_display()
File "peppymeter.py", line 150, in init_display
pygame.display.init()
pygame.error: Unable to open mouse"
Do you have any ide to fix?
It looks like you do not have changed the "mouse.device" in the "config.txt" that should be "mouse.device = /dev/input/event0".
Let's try to see the results of the following commands:
Code:
cat /home/pi/PeppyMeter/config.txt
and
Code:
ls -lia /dev/input/*
Best regards,
Francesco