ST7735 (Red Tab) working on the BBC Microbit (originally by user smultron1977)

Dependencies:   ST7735_TFT mbed

Fork of SPI18TFT by Jonne Valola

Files at this revision

API Documentation at this revision

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;