HaptiCap  0.1
Directional feedback built into a hat
 All Classes Files Functions Macros Modules Pages
Array settings

Array settings for the magnetometer HaptiCap. More...

Macros

#define HC_PINLOCS_ADDR   0x20
 
#define HC_MOTORCAL_ADDR   HC_PINLOCS_ADDR + HC_MAX_NMOTORS
 

Detailed Description

Array settings for the magnetometer HaptiCap.

These are at the end of the file, assuming a maximum of 16 items.

Macro Definition Documentation

#define HC_MOTORCAL_ADDR   HC_PINLOCS_ADDR + HC_MAX_NMOTORS

Motor calibrations per motor. Fractional duty cycle as a fraction of 255. See HaptiCapMagSettings::setPinLocation() for details.

16 items, 1 byte each, uint8_t, 0x30 -> 0x3f

Definition at line 118 of file HaptiCapMagSettings.h.

#define HC_PINLOCS_ADDR   0x20

Pin locations - the pin locations for each motor. See HaptiCapMagSettings::setPinLocation() for details.

16 items, 1 byte each, uint8_t, 0x20 -> 0x2f

Definition at line 111 of file HaptiCapMagSettings.h.