SparkFun_Qwiic_Button (community library)

Summary

Name Value
Name SparkFun_Qwiic_Button
Version 2.0.0
Installs
Author SparkFun Electronics techsupport@sparkfun.com
Maintainer Fischer Moseley fischer.moseley@sparkfun.com
URL https://sparkfun.com/products/15584
Download .tar.gz

Communicates and configures the SparkFun Qwiic Button and Switch. This library allows the user to see the button status, configure the built-in LED, set up interrupts, change I2C addresses, and interface with the onboard button queues.

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 Button Arduino Library Build Status

SparkFun Qwiic Button - Red (SPX-15584) SparkFun Qwiic Button - Blue (SPX-15585) SparkFun Qwiic Arcade - Red (SPX-15591) SparkFun Qwiic Arcade - Blue (SPX-15592) SparkFun Qwiic Switch (SPX-15586)

This library allows the user to:

  • Determine whether or not the button/switch is pressed
  • Set the brightness of the onboard LED
  • Configure the onboard LED's "breathing" effect
  • Use button-based interrupts
  • Adjust the device's I2C address

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.
  • library.properties - General library properties for the Arduino package manager.

Documentation

Products that use this Library

Version History

  • v1.0.1 - Arduino Library Specification Compliance
  • v1.0.0 - Initial Public release.

License Information

This product is open source!

Please review the LICENSE.md file for license information.

If you have any questions or concerns on licensing, please contact techsupport@sparkfun.com.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.

Browse Library Files