Files
MCUFRIEND_kbv/OPENSMART_kbv.cpp
prenticedavid a6d524ac09 edit comments
2018-09-10 22:24:56 +01:00

17 lines
623 B
C++

// this will avoid any library editing
//
// but the sketch must use specific OPENSMART_kbv class constructor
#define USE_SPECIAL //SPECIAL will use the first match
//#define USE_OPENSMART_SHIELD_PINOUT //deprecated
#define USE_OPENSMART_SHIELD_PINOUT_UNO
#define USE_OPENSMART_SHIELD_PINOUT_MEGA
#define USE_OPENSMART_SHIELD_PINOUT_DUE //thanks Michel53
#define SUPPORT_8352B
#include "OPENSMART_kbv.h" //class declaration
#define MCUFRIEND_kbv OPENSMART_kbv //rename the class scope
#include "MCUFRIEND_kbv.cpp" //same methods, but with OPENSMART_kbv class scope