HaptiCap
0.1
Directional feedback built into a hat
|
Error codes for the HaptiCapMagSettings. More...
Macros | |
#define | EC_INVALID_CHECKSUM 32 |
#define | EC_INVALID_GAIN_SETTING 33 |
#define | EC_INVALID_AVG_SETTING 34 |
#define | EC_INVALID_MOTOR 35 |
#define | EC_INVALID_DUTY_CYCLE 36 |
#define | EC_INVALID_SAMPLERATE 37 |
#define | EC_INVALID_N_MOTORS 38 |
Error codes for the HaptiCapMagSettings.
#define EC_INVALID_AVG_SETTING 34 |
Specified averaging setting is invalid. Must be in range [0, 3].
Definition at line 137 of file HaptiCapMagSettings.h.
#define EC_INVALID_CHECKSUM 32 |
Checksum stored in EEPROM does not match object checksum.
Definition at line 133 of file HaptiCapMagSettings.h.
#define EC_INVALID_DUTY_CYCLE 36 |
Specified duty cycle is outside the valid range [0, 1].
Definition at line 141 of file HaptiCapMagSettings.h.
#define EC_INVALID_GAIN_SETTING 33 |
Specified gain setting is invalid. Must be in range [0, 7].
Definition at line 134 of file HaptiCapMagSettings.h.
#define EC_INVALID_MOTOR 35 |
Specified motor is invalid.
Definition at line 140 of file HaptiCapMagSettings.h.
#define EC_INVALID_N_MOTORS 38 |
Number of motors cannot exceed HC_MAX_MOTORS (16)
Definition at line 143 of file HaptiCapMagSettings.h.
#define EC_INVALID_SAMPLERATE 37 |
Sample rate must be < 160 Hz and > 0.75 Hz.
Definition at line 142 of file HaptiCapMagSettings.h.