aboutsummaryrefslogtreecommitdiff
path: root/libraries/Firmata
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Firmata')
-rw-r--r--libraries/Firmata/Firmata.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/Firmata/Firmata.h b/libraries/Firmata/Firmata.h
index 702e1dc..c556c4a 100644
--- a/libraries/Firmata/Firmata.h
+++ b/libraries/Firmata/Firmata.h
@@ -13,6 +13,7 @@
#ifndef Firmata_h
#define Firmata_h
+#include <WProgram.h>
#include <inttypes.h>
@@ -66,7 +67,7 @@ extern "C" {
// TODO make it a subclass of HardwareSerial
-class FirmataClass
+class FirmataClass : public Print
{
public:
FirmataClass();