From 8b60f9f057db7dbf7dfd395cfcc2ecaadb4ccb9a Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Tue, 28 Jun 2016 11:54:47 -0400 Subject: [PATCH] Added a fix for Due --- Bounce2.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Bounce2.h b/Bounce2.h index cf0dee8..92200fe 100644 --- a/Bounce2.h +++ b/Bounce2.h @@ -37,6 +37,10 @@ #include +#ifndef _BV +#define _BV(n) (1<<(n)) +#endif + class Bounce { public: