Copyright (C) 2010-2014 Phidgets Inc. <patrick@phidgets.com>