ST7735 (Red Tab) working on the BBC Microbit (originally by user smultron1977)
Fork of SPI18TFT by
Diff: main.cpp
- Revision:
- 2:1b8fe035d67e
- Parent:
- 1:3486dcc20991
- Child:
- 3:feffd5c100c9
diff -r 3486dcc20991 -r 1b8fe035d67e main.cpp --- a/main.cpp Wed Jan 24 02:12:38 2018 +0000 +++ b/main.cpp Wed Jan 24 02:30:27 2018 +0000 @@ -72,7 +72,7 @@ // the TFT is connected to SPI pin 5-7, CS is p8, RS is p11, reset is p15 - ST7735_TFT TFT(P0_21, P0_22, P0_23, P0_3, P0_18, P0_16,"TFT"); // mosi, miso, sclk, cs, rs, reset + ST7735_TFT TFT(P0_21, P0_22, P0_23, P0_3, P0_2, P0_1,"TFT"); // mosi, miso, sclk, cs, rs, reset Serial pc(USBTX, USBRX); // tx, rx Timer t;