Files
MCUFRIEND_kbv/OPENSMART_kbv.cpp

21 lines
842 B
C++
Raw Normal View History

2018-09-07 15:42:18 +01:00
// this will avoid any library editing
//
2018-09-10 22:24:56 +01:00
// but the sketch must use specific OPENSMART_kbv class constructor
2018-09-07 15:42:18 +01:00
2018-09-10 22:24:56 +01:00
#define USE_SPECIAL //SPECIAL will use the first match
2018-09-07 15:42:18 +01:00
//#define USE_OPENSMART_SHIELD_PINOUT //deprecated
2019-02-25 15:20:05 +00:00
//select the target board
2018-09-07 15:42:18 +01:00
#define USE_OPENSMART_SHIELD_PINOUT_UNO
#define USE_OPENSMART_SHIELD_PINOUT_MEGA
#define USE_OPENSMART_SHIELD_PINOUT_DUE //thanks Michel53
2019-02-25 15:20:05 +00:00
//select the target controllers that are not enabled by default
#define SUPPORT_8352A //HX8352A
#define SUPPORT_8352B //HX8352B
#define SUPPORT_9225 //RM68130
2018-09-07 15:42:18 +01:00
#include "OPENSMART_kbv.h" //class declaration
#define MCUFRIEND_kbv OPENSMART_kbv //rename the class scope
2018-09-10 22:24:56 +01:00
#include "MCUFRIEND_kbv.cpp" //same methods, but with OPENSMART_kbv class scope