Function sh2_devSleep
Defined in File sh2.h
Function Documentation
-
int sh2_devSleep(void)
Put sensor hub in sleep state by sending SLEEP (3) command on “device” channel.
- Returns:
SH2_OK (0), on success. Negative value from sh2_err.h on error.
Defined in File sh2.h
Put sensor hub in sleep state by sending SLEEP (3) command on “device” channel.
SH2_OK (0), on success. Negative value from sh2_err.h on error.