The INT pin is active low and is open drain output. The interrupt pin will go low when any of the follow events
happen:
The user presses the button is pressed or released.
The user has turned the knob and no movement has been detected for a certain amount of time. This
amount of time is called the
turnInterruptTimeout
and is 250ms by default. This means that once the user
has stopped turning the knob for 250ms the interrupt will fire. This is helpful when the user is doing lots of
knob changes. The Qwiic Twist won’t fire the interrupt until the user has stopped fidgeting. The
turnInterruptTimeout is software configurable from 1ms to 65000ms (65 seconds).
The INT pin is open drain and is pulled up through a 10k resistor but if you want to connect multiple Twists and
share the interrupt pins among many Twists then you can optionally cut the jumper to remove the 10k pull up on
each Twist board.
Jumpers
The ADR jumper is normally open and controls the I C address of the device. By default the Qwiic Twist 7-bit
unshifted address is
0x3F
. If the jumper is closed with solder, the address will become
0x3E
.
The Twist is unique in that it can have any address assigned to it between 0x08 and 0x77. This means over 100
Twists can be connected on a single bus!
Note:
If the ADR jumper is closed then Qwiic Twist will resort to address
0x3E
regardless of what address may
have been configured via software commands. This is a safety mechanism in case the Twist gets set to an
unknown address.
The INT jumper is a normally closed jumper; there is a small trace connecting the two pads. This jumper connects
the INT pin on the ATtiny84 through a 10k resistor to
3.3V
. Cutting the small trace disconnects the 10k resistor
from the INT pin on the ATtiny84.
2