From 2c12a848d0fdad53ddbd0537c236b812ed141660 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Fri, 13 Nov 2015 00:53:06 -0500 Subject: [PATCH] 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. --- examples/complex_switch_panel/complex_switch_panel.ino | 1 + examples/switch_panel/switch_panel.ino | 1 + examples/switch_panel_improved/switch_panel_improved.ino | 1 + 3 files changed, 3 insertions(+) diff --git a/examples/complex_switch_panel/complex_switch_panel.ino b/examples/complex_switch_panel/complex_switch_panel.ino index 8fbead6..27517e2 100644 --- a/examples/complex_switch_panel/complex_switch_panel.ino +++ b/examples/complex_switch_panel/complex_switch_panel.ino @@ -2,6 +2,7 @@ // This is the code used in the Black Box project. // TODO: add link to blog post, once it exists. +#include #include Joystick joystick; diff --git a/examples/switch_panel/switch_panel.ino b/examples/switch_panel/switch_panel.ino index 5dff3ec..0999b78 100644 --- a/examples/switch_panel/switch_panel.ino +++ b/examples/switch_panel/switch_panel.ino @@ -6,6 +6,7 @@ // This example uses the *old* Joystick API. You should strongly prefer the // other, better examples in this directory! +#include #include bool debug = false; diff --git a/examples/switch_panel_improved/switch_panel_improved.ino b/examples/switch_panel_improved/switch_panel_improved.ino index cc36a30..62cea1b 100644 --- a/examples/switch_panel_improved/switch_panel_improved.ino +++ b/examples/switch_panel_improved/switch_panel_improved.ino @@ -1,6 +1,7 @@ // This is the same 5-toggle-switch example from switch_panel.ino, using the // new API. So much easier! +#include #include Joystick joystick;