Library to control a Graphics TFT connected to 4-wire SPI - revised for the Raio RA8875 Display Controller.
Dependents: FRDM_RA8875_mPaint RA8875_Demo RA8875_KeyPadDemo SignalGenerator ... more
Fork of SPI_TFT by
See Components - RA8875 Based Display
Enhanced touch-screen support - where it previous supported both the Resistive Touch and Capacitive Touch based on the FT5206 Touch Controller, now it also has support for the GSL1680 Touch Controller.
Offline Help Manual (Windows chm)
/media/uploads/WiredHome/ra8875.zip.bin (download, rename to .zip and unzip)
Diff: RA8875.h
- Revision:
- 197:853d08e2fb53
- Parent:
- 196:56820026701b
- Child:
- 198:9b6851107426
--- a/RA8875.h Tue Feb 11 21:26:59 2020 +0000 +++ b/RA8875.h Tue Feb 11 21:51:42 2020 +0000 @@ -735,7 +735,7 @@ /// /// @code /// #include "RA8875.h" - /// RA8875 lcd(p5, p6, p7, p12, NC, p9,p10,p13, "tft"); + /// RA8875 lcd(p5,p6,p7,p12,NC, p9,p10,p13, "tft"); /// /// int main() /// { @@ -771,7 +771,7 @@ /// /// @code /// #include "RA8875.h" - /// RA8875 lcd(p5, p6, p7, p12, NC, p9,p10,p13,p14, "tft"); + /// RA8875 lcd(p5,p6,p7,p12,NC, p9,p10,p13,p14, "tft"); /// /// int main() /// { @@ -953,7 +953,7 @@ /// display.SetLayerMode(RA8875::TransparentMode); /// for (i=0; i<=8; i++) { /// display.SetLayerTransparency(i, 8-i); - /// wait_ms(200); + /// wait_us(200000); /// } /// @endcode /// @@ -1810,7 +1810,8 @@ /// Gets the display orientation - /// + /// + /// @returns the basic display orientationas an @ref orientation_t value. /// orientation_t GetOrientation(); @@ -1833,22 +1834,22 @@ /// lcd.cls(); /// lcd.SetOrientation(RA8875::normal); /// lcd.puts(30,30, "Normal Landscape"); - /// wait_ms(2500); + /// wait_us(2500000); /// /// lcd.cls(); /// lcd.SetOrientation(RA8875::rotate_90); /// lcd.puts(30,30, "Rotated 90 Text\r\n"); - /// wait_ms(2500); + /// wait_us(2500000); /// /// lcd.cls(); /// lcd.SetOrientation(RA8875::rotate_180); /// lcd.puts(30,30, "Rotated 180 Text\r\n"); - /// wait_ms(2500); + /// wait_us(2500000); /// /// lcd.cls(); /// lcd.SetOrientation(RA8875::rotate_270); /// lcd.puts(30,30, "Rotated 270 Text\r\n"); - /// wait_ms(2500); + /// wait_us(2500000); /// @endcode /// /// @param[in] angle defaults to normal, but can be rotated