© 2009 Hyperdyne Labs
8
randdeflect
– Boolean to select random deflection sounds to play out every time the
deflection (aux) input button is held down. 1 = randomize deflection sounds, 0 = play
deflection sounds in numeric order (Default = 1)
usemomentary
– Boolean to set the on/off button type. 1 = button is momentary (default
when using our ver 2 blade driver board), 0 = latching button (used standalone or with
separate blade circuit). (Default = 1)
playstartupsnd
– Boolean to set whether the startup sound is played out when the board
is powered up. If set to 1, the file “startup.wav” must be present on the SD card. 1 =
play startup sound, 0 = do not play start up sound (Default = 0)
vibenabled
– Boolean to enable force feedback vibration motor. Set to 1 to turn on
vibration functionality. Set to 0 to disable the vib motor (Default=0).
vibwhilehum
– Boolean to enable a steady vibration effect when the saber hum sound is
actively playing out. Set to 1 to turn on hum vibration functionality. Set to 0 to disable
the vib motor during hum. Setting this to 0 helps prolong battery life as the motor is not
active during constant hum periods, but will still work for swings and clashes
(Default=0).
vibswinginten
– Intensity of the vibration effect when a swing event is detected. Larger
numbers indicate a stronger vibration effect.*** Valid number range: 0-64 (Default:
18).
vibclashinten
– Intensity of the vibration effect when a clash event is detected. Larger
numbers indicate a stronger vibration effect.*** Valid number range: 0-64 (Default:
32).
vibhuminten
– Intensity of the vibration effect when the hum sound is active. Only
effective when vibwhilehum=1. Larger numbers indicate a stronger vibration effect.***
Valid number range: 0-64 (Default: 7).
viboninten
– Intensity of the vibration effect when the saber is turned on or off. Larger
numbers indicate a stronger vibration effect.*** Valid number range: 0-64 (Default:
25).
.
*** NOTE:
Use with caution if you are using a low-voltage vibration motor,
as large values can cause the motor to overheat or burn out
.
Before enabling the vibration functionality, you should compute the best settings
using the following formula. The maximum you should set any of the vibration
parameters is given by:
Max setting = 64*(vib motor max voltage / Battery voltage)
Make sure you set these values first or you risk damaging your vib motor.