mirror of
https://github.com/smartykit/apple1.git
synced 2024-09-27 11:56:44 +00:00
include Terminal.h only #ifdef _TERMINAL_
This commit is contained in:
parent
ef2e84ec01
commit
4ceb6506ed
@ -20,11 +20,12 @@
|
|||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
|
|
||||||
|
|
||||||
#include <Terminal.h>
|
|
||||||
#undef _TERMINAL_ //turn off Terminal
|
#undef _TERMINAL_ //turn off Terminal
|
||||||
//#define _TERMINAL_ //turn on Terminal
|
//#define _TERMINAL_ //turn on Terminal
|
||||||
|
|
||||||
#ifdef _TERMINAL_
|
#ifdef _TERMINAL_
|
||||||
|
#include <Terminal.h>
|
||||||
// Create a terminal in TWI mode
|
// Create a terminal in TWI mode
|
||||||
Terminal term; //uses A4 (SDA) and A5 (SCL) that conflict with other usage of A4-A5
|
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)
|
//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
Block a user