Fixed a missing include for Platform.io
This commit is contained in:
+1
-5
@@ -1,10 +1,6 @@
|
||||
// Please read Bounce2.h for information about the liscence and authors
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "Arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
#include "Bounce2.h"
|
||||
|
||||
static const uint8_t DEBOUNCED_STATE = 0b00000001;
|
||||
|
||||
@@ -29,6 +29,12 @@
|
||||
#ifndef Bounce2_h
|
||||
#define Bounce2_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "Arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
// Uncomment the following line for "LOCK-OUT" debounce method
|
||||
//#define BOUNCE_LOCK_OUT
|
||||
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/thomasfredericks/Bounce2.git"
|
||||
},
|
||||
"version": "2.4",
|
||||
"version": "2.41",
|
||||
"exclude": [
|
||||
"*.png",
|
||||
"*.zip"
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
name=Bounce2
|
||||
version=2.4
|
||||
version=2.41
|
||||
author=Thomas O Fredericks <tof@t-o-f.info> with contributions fromEric Lowry, Jim Schimpf and Tom Harkaway
|
||||
maintainer=Thomas O Fredericks <tof@t-o-f.info>
|
||||
sentence=Debouncing library for Arduino and Wiring.
|
||||
|
||||
Reference in New Issue
Block a user