-
Notifications
You must be signed in to change notification settings - Fork 2
Haptic
Kravitz Lab edited this page Jan 26, 2026
·
1 revision
The FED4 drives a haptic motor via the MCP expander (pin EXP_HAPTIC). Used for vibration feedback on pokes, buttons, and events.
Functions
-
hapticBuzz(duration)— single buzz (default 100 ms). -
hapticDoubleBuzz(duration)— two buzzes (default 25 ms each). -
hapticTripleBuzz(duration)— three buzzes (default 5 ms base; on/off = duration×10). -
hapticRumble(duration_ms)— low-frequency PWM rumble (default 300 ms, 50 Hz).
Durations are in milliseconds unless noted. See FED4_Haptic.cpp.