Skip to content

pandamusrex/owobot-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

owobot-python

Prerequisites

  • Python 3.7 or newer

Setup

cd ~/Repos/rpi-rgb-led-matrix/bindings/python/samples
sudo ./runtext.py --led-cols=64 --led-rows=32 --led-slowdown-gpio=2
sudo ./rotating-block-generator.py --led-cols=64 --led-rows=32 --led-slowdown-gpio=2
  • After installing and building the Python bindings for rpi-rgb-led-matrix, add a rgmatrix.pth file to your .venv/lib/python3.xx/site-packages folder with the path to the package, i.e.
/home/pi/Repos/rpi-rgb-led-matrix/bindings/python
  • You may also need to install Pillow to avoid a missing reference to the obsolete PIL. To do so, in your venv type
ModuleNotFoundError: No module named 'PIL'
(.venv) pi@raspberrypi:~/Repos/pymatrix $ pip3 install Pillow
  • Try running it, i.e.
(.venv) pi@raspberrypi:~/Repos/owobot-python $ /home/pi/Repos/owobot-python/.venv/bin/python /home/pi/Repos/owobot-python/owobot.py
  • To avoid the "Can't set realtime thread priority" warning, do the following (replace 11 with your Python version)
sudo setcap 'cap_sys_nice=eip' /usr/bin/python3.xx

About

A proof of concept of the owobot written in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages