You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

406 B


virtualenv --no-site-packages --distribute .env
source .env/bin/activate
pip install -r requirements.txt

Connect to serial port

picocom /dev/ttyUSB0 -b115200

Small card

Set up distance measuring

import tablecode.main

tablecode.main.distance(16, 0)

HCSR04 Pins

Trig – D0 Echo – D3 Vcc – 5V GND – GND