Raspberry Pi 3A+ のOS bullseye(11)に上げました。
いまのところ殆ど問題ないですね。意外!?
[before]
# uname -a
Linux raspi3ap 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
root@raspi3ap:~# pip3 list
Package Version
-------------------------------- -------
Adafruit-Blinka 3.4.1
adafruit-circuitpython-busdevice 4.1.1
adafruit-circuitpython-ht16k33 2.8.0
Adafruit-GPIO 1.0.3
Adafruit-PlatformDetect 1.4.4
Adafruit-PureIO 1.0.4
Adafruit-SSD1306 1.6.2
..# ps axg|grep python3
1300 ? S 0:00 python3 /home/pi/bin/p3-led0-G22.py
1301 ? S 0:00 python3 /home/pi/bin/stats3-p3.py
1302 ? Sl 0:00 python3 /home/pi/bin/p3-pwm_fan_ctrl321.py
1303 ? S 0:00 python3 /home/pi/bin/p3-tm1637_ab_time_temp.py
/etc/apt/sources.list を書き替え.buster を bullseye に
#apt update
#apt full-upgrade
[after]
# uname -a
Linux raspi3ap 5.15.76-v7+ #1597 SMP Fri Nov 4 12:13:17 GMT 2022 armv7l GNU/Linux
# cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
# pip3 install Adafruit-Blinka
# pip3 install adafruit-circuitpython-ht16k33
# pip3 install Adafruit-SSD1306
root@raspi3ap:/home/shin/bin# pip3 list
Package Version
-------------------------------- ---------
Adafruit-Blinka 8.9.0
adafruit-circuitpython-busdevice 5.2.3
adafruit-circuitpython-ht16k33 4.6.1
adafruit-circuitpython-requests 1.12.11
adafruit-circuitpython-typing 1.8.3
Adafruit-GPIO 1.0.3
Adafruit-PlatformDetect 3.37.0
Adafruit-PureIO 1.1.9
Adafruit-SSD1306 1.6.2
-----------------------
root@raspi3ap:~# ps axg|grep python
1095 ? S 0:00 python3 /home/pi/bin/p3-led0-G22.py
1096 ? S 0:00 python3 /home/pi/bin/stats3-p3.py
1097 ? Sl 0:00 python3 /home/pi/bin/p3-pwm_fan_ctrl321.py
1098 ? S 0:00 python3 /home/pi/bin/p3-tm1637_ab_time_temp.py
-------------------------
スクロールが速すぎるので(ライブラリの性能アップ?!)、timeを挿入が必要になった
root@raspi3ap:/home/pi/bin# tail ./matrix16x8_xx24_heike_scroll.py
max_addr=len(i2c_address)
for i in range(0, max_addr):
image_listx.append( horizontal_multi_scroll(matrixx[0], new_image, max_addr, i))
max_images = len(image_listx[0])
while True:
for i in range(0, max_images):
for j, m in enumerate(matrixx, 0):
m.image(image_listx[j][i])
time.sleep(0.10) #### <====これを追加する!!!
0 件のコメント:
コメントを投稿