PiBot board test code in Python