andysworkshop / xmemtft

Arduino Mega TFT library
Apache License 2.0
37 stars 15 forks source link

Incorrect pinout documentation for Gpio16AccessMode #6

Closed andysworkshop closed 10 years ago

andysworkshop commented 10 years ago

RESET and WR should be swapped in the documentation (code is correct)

--- a/lib/drv/accessModes/Gpio16AccessMode.h
+++ b/lib/drv/accessModes/Gpio16AccessMode.h
@@ -78,9 +78,9 @@ namespace lcd {
    *  | 32      | PC5  | D13      |
    *  | 31      | PC6  | D14      |
    *  | 30      | PC7  | D15      |
-   *  | 39      | PG2  | /RESET   |
+   *  | 41      | PG2  | /RESET   |//Had to swtich this with this **
    *  | 40      | PG1  | RS       |
-   *  | 41      | PG0  | /WR      |
+   *  | 39      | PG0  | /WR      |//**
    *  +---------+------+----------+
    *  @ingroup AccessModes
    */