mirror of https://github.com/smartykit/apple1.git
include Terminal.h only #ifdef _TERMINAL_
This commit is contained in:
parent
ef2e84ec01
commit
4ceb6506ed
|
@ -20,11 +20,12 @@
|
|||
#include <SPI.h>
|
||||
|
||||
|
||||
#include <Terminal.h>
|
||||
|
||||
#undef _TERMINAL_ //turn off Terminal
|
||||
//#define _TERMINAL_ //turn on Terminal
|
||||
|
||||
#ifdef _TERMINAL_
|
||||
#include <Terminal.h>
|
||||
// Create a terminal in TWI mode
|
||||
Terminal term; //uses A4 (SDA) and A5 (SCL) that conflict with other usage of A4-A5
|
||||
//so we need to put CS on low, RST = A0, DC = A1, MOSI = A2, SCK = A3, MISO = not connected (NC)
|
||||
|
|
Loading…
Reference in New Issue