ProdBoard Support

Example Code

Examples for using the ProdBoard are here.

In order to use the examples, you will need to install the following dependent libraries.

Python GPIO

sudo apt-get install python-dev python-rpi.gpio

Luma.OLED Python Library – For OLED display

ProdBoard using i2c OLED display with SH1106 driver.

Library Info:
Install Instructions:

More display examples from Luma.OLED:

To run the examples from Luma.OLED, dont forget to use “-d sh1106” option.

python -d sh1106

LIRC library required LIRC to be installed.

To be able to run the example, do the following (assuming Raspbian):

  • Install LIRC

sudo apt-get install lirc

  • In /boot/config.txt, add/edit the following line
  • Setup for i2c communications with display and LIRC for infrared in /etc/modules
# /etc/modules: kernel modules to load at boot time.
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with “#” are ignored.
lirc_rpi gpio_in_pin=17
  • Install LIRC python library:
#For python 3.x
sudo apt-get install python3-lirc

#For python 2.x
sudo apt-get install python-lirc