File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,23 +106,25 @@ which is in the 'doc' folder [at link.](../buffer_mode/README.md)
106106
107107[ ![ pic ] ( https://github.com/gavinlyonsrepo/displaylib_16bit_PICO/blob/main/extra/image/gc1.png )] ( https://github.com/gavinlyonsrepo/displaylib_16bit_PICO/blob/main/extra/image/gc1.png )
108108
109+ Connections as setup in main.cpp test file.
109110Connections as setup in main.cpp test file.
110111
111- | Pin desc | HW SPI |
112- | --- | --- |
113- | GND Ground | GND |
114- | VCC | 3.3 VCC |
115- | SCL Clock | GPIO 18 |
116- | SDA Data in | GPIO 19 |
117- | RST Reset | GPIO 4 |
118- | DC Data or command | GPIO 3 |
119- | CS Chip select | GPIO 2 |
120- | BL Backlight | VCC |
112+ | TFT PinNum | Pindesc | RPI HW SPI | RPI SW SPI |
113+ | --- | --- | --- | --- |
114+ | 1 | LED | VCC | VCC |
115+ | 2 | CS | SPI_CE0 | GPI21 |
116+ | 3 | DC | GPIO24 | GPIO24 |
117+ | 4 | RESET | GPI025 | GPIO25 |
118+ | 5 | SDA | SPI_MOSI | GPIO16 |
119+ | 6 | SCLK | SPI_CLK | GPIO20 |
120+ | 7 | VCC | VCC | VCC |
121+ | 8 | GND | GND | GND |
121122
1221231 . This is a 3.3V logic device do NOT connect the I/O logic lines to 5V logic device.
123- 2 . SW SPI pick any GPIO you like , HW SPI SCLK and SDA will be tied to spio interface.
124+ 2 . SW SPI pick any GPIO you like , HW SPI CEX, SCLK and SDA will be tied to SPI interface.
1241253 . Backlight on/off control is left to user.
125126
127+
126128## Output
127129
128130[ ![ Demo pic ] ( https://github.com/gavinlyonsrepo/displaylib_16bit_PICO/blob/main/extra/image/gc2.jpg )] ( https://github.com/gavinlyonsrepo/displaylib_16bit_PICO/blob/main/extra/image/gc2.jpg )
Original file line number Diff line number Diff line change @@ -165,21 +165,21 @@ which is in the 'doc' folder [at link.](../buffer_mode/README.md)
165165
166166Connections as setup in main.cpp test file.
167167
168- | Pin desc | HW SPI |
169- | --- | --- |
170- | GND Ground | GND |
171- | VCC | 3.3 VCC |
172- | SCL Clock | GPIO 18 |
173- | SDA Data in | GPIO 19 |
174- | RST Reset | GPIO 4 |
175- | DC Data or command | GPIO 3 |
176- | CS Chip select | GPIO 2 |
177- | BL Backlight | VCC |
168+ | TFT PinNum | Pindesc | RPI HW SPI | RPI SW SPI |
169+ | --- | --- | --- | --- |
170+ | 1 | LED | VCC | VCC |
171+ | 2 | CS | SPI_CE0 | GPI21 |
172+ | 3 | DC | GPIO24 | GPIO24 |
173+ | 4 | RESET | GPI025 | GPIO25 |
174+ | 5 | SDA | SPI_MOSI | GPIO16 |
175+ | 6 | SCLK | SPI_CLK | GPIO20 |
176+ | 7 | VCC | VCC | VCC |
177+ | 8 | GND | GND | GND |
178178
1791791 . This is a 3.3V logic device do NOT connect the I/O logic lines to 5V logic device.
180- 2 . SW SPI pick any GPIO you like , HW SPI SCLK and SDA will be tied to spio interface.
180+ 2 . SW SPI pick any GPIO you like , HW SPI CEX, SCLK and SDA will be tied to SPI interface.
1811813 . Backlight on/off control is left to user.
182- 4 . If no Reset pin present: pass -1 as argument for Reset pin number in SetupGPIO()functions
182+
183183
184184## Output
185185
You can’t perform that action at this time.
0 commit comments