Skip to content

sparkfun/SparkFun_Qwiic_Button_Arduino_Library

Repository files navigation

SparkFun Qwiic Button Arduino Library Build Status

SparkFun Qwiic Button - Red (BOB-15932) SparkFun Qwiic Button Breakout (BOB-15931) 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

  • BOB-15932 - SparkFun Red Version with red LED pushbutton
  • BOB-16842 - SparkFun Red Version with green LED pushbutton
  • BOB-15931 - SparkFun Red Version without button
  • SPX-15584 - Original SparkX version of the Qwiic Button (Red LED)
  • SPX-15585 - Original SparkX version of the Qwiic Button (Blue LED)
  • SPX-15591 - Original SparkX version of the Qwiic Button (Arcade Red Pushbutton)
  • SPX-15592 - Original SparkX version of the Qwiic Button (Arcade Blue Pushbutton)
  • SPX-15586 - Original SparkX version of the Qwiic Button

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.