Buttons are an easy, tactile way to interface with your project but why would you want to deal with debouncing, polling, and wiring up pull-up resistors? The Qwiic Button simplifies all of those nasty worries away into an easy to use I2C device! With our Qwiic system, no soldering is required, and using the button is as simple as calling button.isPressed()
.
The button also has a built-in blue LED that illuminates the button, which can be configured for your desired level of blinkiness!
If you need multiple buttons for your project, fear not! Each button has a configurable I2C address, so you can daisy-chain multiple buttons over Qwiic and still address each one individually. We've got an example in our Arduino Library that provides a super-easy way to configure your Qwiic Button to whatever I2C address you desire.
In addition to handling blinking and debouncing the Qwiic Button has configurable interrupts which can be configured to activate upon a button press or click. This means that code on your microcontroller need not waste valuable processing time checking the status of the button but instead can run a small function whenever the button is pressed or clicked! For more information on interrupts check out our guide here!
We've also taken the liberty of implementing a FIFO queue onboard the Qwiic Button where it keeps an internal record of when the button was pressed. This means that if you happen to be Alex Trebek and you have a network of Qwiic Buttons running your Jeopardy Game, you can determine who pushed their button first without polling them constantly! This saves your microcontroller time to do other, more important things - like winning the game itself.
We've written an Arduino library to help you get started quickly. You can download the library through the Arduino library manager by searching 'SparkFun Qwiic Button' or you can get the GitHub repo as a .zip file and install the library from there.
This board is one of our many Qwiic compatible boards! Simply plug and go. No soldering, no figuring out which is SDA or SCL, and no voltage regulation or translation required!
We do not plan to regularly produce SparkX products, so get them while they?re hot!
Documents:
Esta cinta de cobre permite variedad de aplicaciones, desde crear pistas para componentes electrónicos a fabricar antenas. Ancho 5mm. Longitud: ...
Este portapilas esta diseñado específicamente para la placa BBC Micro:bit y tiene un cable de 150mm con el conector ...
Este kit incluye: Micro:bit V2 Cable USB corto Portapilas para 2 pilas AAA 2 pilas ...
El Robot Maqueen para Micro:bit de DFRobot está diseñado específicamente para fomentar el interés de los niños en la ciencia y el pensamiento lógico a través de la educación STEM. ...
Cable USB estándar de 15 cm. de largo. ideal para la placa ...
Utiliza este kit para convertir tu Maqueen y Maqueen Plus en un Escarabajo Mecánico! El kit Maqueen Mechanic-Beetle incluye un servo metálico, piezas mecánicas, tornillos, etc. Con una simple instalación, tu coche Maqueen estará listo para ...
Equipa tu Maqueen con este kit Mecánico para que pueda simular el movimiento de una carretilla elevadora! Prográmalo para que levante un objeto, baje una horquilla y traslade objetos, igual que una carretilla elevadora real en una fábrica. ...