newest version with all modes working on phidget board