Changes to bb.py to support a list of pin connections (untested with