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:
2015-11-13 00:53:06 -05:00
parent d0038eba44
commit 2c12a848d0
3 changed files with 3 additions and 0 deletions

View File

@ -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;