add specific OPENSMART_kbv class

This commit is contained in:
prenticedavid
2018-09-07 15:42:18 +01:00
parent ff41e3c236
commit 0b1aa09cbd
2 changed files with 94 additions and 0 deletions

16
OPENSMART_kbv.cpp Normal file
View File

@@ -0,0 +1,16 @@
// this will avoid any library editing
//
// but the sketch must use the specific OPENSMART_kbv class and constructor
#define USE_SPECIAL
//#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, OPENSMART_kbv class scope