Add Bounce2 header to examples. Due to an annoying quirk with Arduino, we only include library headers directly referenced by the sketch, so dependencies have to be listed explicitly.
This commit is contained in:
parent
d0038eba44
commit
2c12a848d0
|
@ -2,6 +2,7 @@
|
|||
// This is the code used in the Black Box project.
|
||||
// TODO: add link to blog post, once it exists.
|
||||
|
||||
#include <Bounce2.h>
|
||||
#include <Joystick.h>
|
||||
|
||||
Joystick joystick;
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
// This example uses the *old* Joystick API. You should strongly prefer the
|
||||
// other, better examples in this directory!
|
||||
|
||||
#include <Bounce2.h>
|
||||
#include <Joystick.h>
|
||||
|
||||
bool debug = false;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// This is the same 5-toggle-switch example from switch_panel.ino, using the
|
||||
// new API. So much easier!
|
||||
|
||||
#include <Bounce2.h>
|
||||
#include <Joystick.h>
|
||||
|
||||
Joystick joystick;
|
||||
|
|
Loading…
Reference in New Issue
Block a user