ST7735 (Red Tab) working on the BBC Microbit (originally by user smultron1977)
Fork of SPI18TFT by
Revision 2:1b8fe035d67e, committed 2018-01-24
- Comitter:
- yramesh
- Date:
- Wed Jan 24 02:30:27 2018 +0000
- Parent:
- 1:3486dcc20991
- Child:
- 3:feffd5c100c9
- Commit message:
- microbit
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;