Myriota Flex SDK 2.5.0
|
Run a self-test on the FlexSense device. More...
Functions | |
int | FLEX_HWTest (void) |
Run a self-test on the FlexSense device.
int FLEX_HWTest | ( | void | ) |
Performs a Hardware test for the FlexSense. The test enables the 5V power on the external connector, and blinks the boards led from green to blue. The test blocks all other board functionality until the push button is pressed.
-FLEX_ERROR_POWER_OUT | unable to initialise power out or LED |
-FLEX_ERROR_BUTTON | error enabling or disabling push button |
-FLEX_ERROR_LED | error setting LED state |