Thanks for your answer !
It looks to be the same for the SPI_CE0_N. I'll have a try in the beginning of july (I'm waiting for parts).
Thanks for your answer !
Copy the file libraspidmx.so.1 to /lib directory.jostie94 wrote: ↑Tue Jun 27, 2017 7:06 amDoes anyone have an idea what I'm doing wrong?
I do don't know anymore
pi@retropie:~/gbzbatterymonitor $ python main.py
Batteries 100% voltage: 4.1
Batteries 75% voltage: 3.76
Batteries 50% voltage: 3.63
Batteries 25% voltage: 3.5
Batteries dangerous voltage: 3.2
ADC 100% value: 937.441786284
ADC 75% value: 859.702711324
ADC 50% value: 829.978947368
ADC 25% value: 800.255183413
ADC dangerous voltage value: 731.661881978
/home/pi/raspidmx/pngview/pngview: error while loading shared libraries: libraspidmx.so.1: cannot open shared object file: No such file or directory
ADC value: 313 (1.36893833705 V)
ADC value: 311 (1.36019112723 V)
^Cpngview: no process found
Perhaps you are not using a layer number that is high enough within the pngview switch to be the upmost layer.
Yeah. I tried to check the layers via:
Code: Select all
vcgencmd dispmanx_list
Code: Select all
Enjoy your time ..
Code: Select all
pi@retropie:~/gbzbattery $ python main.py
Batteries 100% voltage: 4.1
Batteries 75% voltage: 3.76
Batteries 50% voltage: 3.63
Batteries 25% voltage: 3.5
Batteries dangerous voltage: 3.2
ADC 100% value: 937.441786284
ADC 75% value: 859.702711324
ADC 50% value: 829.978947368
ADC 25% value: 800.255183413
ADC dangerous voltage value: 731.661881978
sh: 1: /home/pi/raspidmx/pngview: Permission denied
ADC value: 860 (3.76130022321 V)
Changed battery icon to 100%
sh: 1: /home/pi/raspidmx/pngview: Permission denied
ADC value: 833 (3.64321289063 V)
Changed battery icon to 75%
sh: 1: /home/pi/raspidmx/pngview: Permission denied
ADC value: 847 (3.70444335937 V)
ADC value: 862 (3.77004743304 V)
Users browsing this forum: No registered users and 1 guest