Code to control a ShiftBrite