beaglebone: solved minor bug setLedValue