03-07-2019, 05:53 AM
(03-06-2019, 08:48 PM)remy1961 Wrote:(03-06-2019, 11:51 AM)nowy1 Wrote: And you can write which pins connect to the raspberry?
i2c
Display . RPi
SDA--------------- PIN 3
SCL---------------- PIN 5
VCC--------------- PIN 2 or 4
GND--------------- any ground PIN
Remy
they still do not work

pi@moode:~/pydPiper/pydPiper $ sudo /usr/bin/docker run --network=host --privileged -ti -v /var/log:/var/log:rw -v /home/pi/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha /bin/bash
root@moode:/app# python pydPiper.py
Traceback (most recent call last):
File "pydPiper.py", line 23, in <module>
class music_controller(threading.Thread):
File "pydPiper.py", line 68, in music_controller
'localtime':moment.utcnow().timezone(pydPiper_config.TIMEZONE),
File "/usr/local/lib/python2.7/dist-packages/moment/core.py", line 81, in timezone
date = times.to_local(date, zone)
File "/usr/local/lib/python2.7/dist-packages/times/__init__.py", line 61, in to_local
'First argument to to_local() should be a universal time.'
ValueError: First argument to to_local() should be a universal time.
root@moode:/app# packet_write_wait: Connection to 192.168.0.242 port 22: Broken pipe