This is the David Smart RA8875 Library with mods for working with FRDM-K64F
Diff: RA8875.h
- Revision:
- 197:853d08e2fb53
- Parent:
- 196:56820026701b
- Child:
- 198:18d25c15a7b5
--- 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