Skip to content

Commit b60e5ec

Browse files
removing unused vars from example 8
1 parent 42a0794 commit b60e5ec

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

examples/Example8_ExtInterrupt/Example8_ExtInterrupt.ino

-3
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ QwiicButton button;
2020
uint8_t brightness = 100; //The brightness to set the LED to when interrupt pin is high
2121
//Can be any value between 0 (off) and 255 (max)
2222
int interruptPin = 2; //pin that will change states when interrupt is triggered
23-
int ledPin = 13;
2423

25-
bool buttonIsPressed = false;
26-
bool buttonHasBeenClicked = false;
2724
bool interruptEntered = false; //Interrupt flag so we can clear things outside of the interrupt
2825

2926
void setup() {

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=SparkFun Qwiic Button and Qwiic Switch Library
2-
version=2.0.2
2+
version=2.0.3
33
author=SparkFun Electronics <[email protected]>
44
maintainer=Fischer Moseley <[email protected]>
55
sentence=Communicates and configures the SparkFun Qwiic Button and Switch.

0 commit comments

Comments
 (0)