3 Copyright (C) 2006-2008 Hans-Christoph Steiner. All rights reserved.
4 Copyright (C) 2010-2011 Paul Stoffregen. All rights reserved.
5 Copyright (C) 2009 Shigeru Kobayashi. All rights reserved.
6 Copyright (C) 2013 Norbert Truchsess. All rights reserved.
7 Copyright (C) 2009-2016 Jeff Hoefs. All rights reserved.
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Lesser General Public
11 License as published by the Free Software Foundation; either
12 version 2.1 of the License, or (at your option) any later version.
14 Interface for Firmata feature classes.
16 This version of FirmataFeature.h differs from the ConfigurableFirmata
17 version in the following ways:
19 - Imports Firmata.h rather than ConfigurableFirmata.h
21 See file LICENSE.txt for further informations on licensing terms.
24 #ifndef FirmataFeature_h
25 #define FirmataFeature_h
32 virtual void handleCapability(byte pin) = 0;
33 virtual boolean handlePinMode(byte pin, int mode) = 0;
34 virtual boolean handleSysex(byte command, byte argc, byte* argv) = 0;
35 virtual void reset() = 0;