SparkFun_Qwiic_Twist_Arduino_Library (community library)


Name Value
Name SparkFun_Qwiic_Twist_Arduino_Library
Version 1.0.3
Installs 326
Author SparkFun Electronics
Maintainer SparkFun Electronics <>
Download .tar.gz

Library for the SparkFun Qwiic Twist Digital Encoder An Arduino Library for the Qwist Twist digital encoder. Qwiic Twist is an RGB encoder that makes creating and control a twist knob easy and fast. The knob can be illuminated any color and a multitude of settings and features are exposed to the end user for customization. Available at:

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.

SparkFun Qwiic Twist Arduino Library

SparkFun Qwiic Twist (image removed)

SparkFun Qwiic Twist (DEV-15083)

Sometimes you just need a volume knob. The Qwiic Twist is a digital RGB encoder. What does that mean? The Twist takes care of all the various interrupts, switches, PWM'ing of LEDs and presents all those features over an easy-to-use I2C interface. The Qwiic Twist was designed to get rid of the large mass of wires that are needed to implement an RGB encoder in a breadboard. Stop messing around with interrupt debugging and get back to your project!

One rotation in the clockwise direction increases the overall count by 24 and -24 in the counter clockwise direction. The number of 'ticks' or steps the user has turned the knob are transmitted over I2C. Additionally, the red, green, and blue LEDs are all set via software commands and can be digitally mixed to achieve over 16 million colors.

We designed Qwiic Twist with an indent encoder which gives the user a great 'clicky' feel. Additionally, the encoder has a built in button so the user can select an GUI menu or element by pressing on the encoder.

The I2C address of Qwiic Twist is software configurable which means you can hookup over 100 on a single I2C bus!

Repository Contents

  • /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
  • /src - Source files for the library (.cpp, .h).
  • keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.
  • - General library properties for the Arduino package manager.


License Information

This product is open source!

Please review the file for license information.

If you have any questions or concerns on licensing, please contact

Please use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release any derivative under the same license.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.

Browse Library Files