Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.28 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.28 KB

LabPi

GitHub tag

Scripts running on the Raspberry Pi in 4163SES.

Installation

In the pi's /home/pi/ directory:

$ git clone [email protected]:CabanaLab/LabPi.git
$ pip install -e LabPi/

run-empty

Setup empty.py to run on startup in a headless commandline environment (no GUI). This script is designed to await input from a barcode scanner on a forever-loop.

lcd_16x2.py

Prints output to a 16x2 character LCD screen. This item has been modified for the purposes here. The original creator and file can be found here.

Configuration

The package will look for configuration in ~/labpi.conf. Example configuration is:

[server]
# Url for the professor oak server
# {id} will be replaced with the container ID.
base_url = http://example.com/container/{id}
# Username for the professor oak server
username =
# Password for the professor oak server
password =

[pi]
# Which LCD is installed (i2c_rgb, gpio)
lcd_panel = i2c_rgb

Usage

Connect the barcode reader to the PI, then execute run-empty from the command line.