mirror of
https://github.com/YuzuZensai/MCUFRIEND_kbv.git
synced 2026-01-31 14:57:48 +00:00
add specific OPENSMART_kbv class
This commit is contained in:
16
OPENSMART_kbv.cpp
Normal file
16
OPENSMART_kbv.cpp
Normal 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
|
||||
Reference in New Issue
Block a user