mirror of
https://github.com/jscrane/Apple1.git
synced 2024-12-21 12:29:51 +00:00
libraries
This commit is contained in:
parent
b69674899c
commit
4682576976
5
Makefile
5
Makefile
@ -1,7 +1,6 @@
|
||||
PROCESSOR_FAMILY := lm4f
|
||||
BOARD := lplm4f120h5qr
|
||||
# watch the CPU execute
|
||||
#CPPFLAGS := -DCPU_DEBUG
|
||||
CPPFLAGS := -DHARDWARE_H=\"hw/lm4f-utft-sd.h\"
|
||||
CPPFLAGS := -DDEBUGGING -DHARDWARE_H=\"hw/lm4f-utft-sd.h\"
|
||||
LIBRARIES := UTFT SD
|
||||
|
||||
include energia10.mk
|
||||
|
14
apple1.ino
14
apple1.ino
@ -2,20 +2,6 @@
|
||||
#include <r65emu.h>
|
||||
|
||||
#include <SPI.h>
|
||||
#if defined(USE_UTFT)
|
||||
//#include <UTFT.h>
|
||||
#elif defined(USE_ESPI)
|
||||
#include <TFT_eSPI.h>
|
||||
#endif
|
||||
|
||||
#if defined(USE_SD)
|
||||
#include <SD.h>
|
||||
#elif defined(USE_SPIFFS)
|
||||
#include <FS.h>
|
||||
#include <SPIFFS.h>
|
||||
#elif defined(ESP8266)
|
||||
#include <FS.h>
|
||||
#endif
|
||||
|
||||
#if defined(SPIRAM_CS)
|
||||
#include <SpiRAM.h>
|
||||
|
2
io.cpp
2
io.cpp
@ -17,7 +17,7 @@ static unsigned r, c;
|
||||
static char screen[ROWS][COLS];
|
||||
|
||||
void io::reset() {
|
||||
TFTDisplay::begin(TFT_BG, TFT_FG, reverse_landscape);
|
||||
TFTDisplay::begin(TFT_BG, TFT_FG, landscape);
|
||||
clear();
|
||||
_cy += 2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user