hardware pin control changes

Add class for digital write to a pin on the BBB. This can be changed in
the config