Initial port to BBB with enhancements to Adafruit_7segment.py