Has anybody done the ground work on this lil animal?
I have seen so many Libraries floating around... adafruit, MCUFREIND to name a couple.
I'm using an Arduino mega2560, however it can mount both uno or mega
I could really do with some help on this one chaps.
19. OPEN-SMART Shields have different wiring to regular Uno Shields:
Edit utility/mcufriend_shield.h: #define USE_SPECIAL
Edit utility/mcufriend_special.h: #define USE_OPENSMART_SHIELD_PINOUT
Edit MCUFRIEND_kbv.cpp: #define SUPPORT_8352B
ILI9327 is supported by default. You only need to make the SPECIAL edits.
When people install libraries by hand you get problems. Delete any multiple versions.
Always use the Library Manager. It finds the correct library. Tells you if a new version is available. Updates or Installs everything correctly.
It is wise to enable verbose Compile.
e.g. File->Preferences->Show verbose output during: compilation
This will tell you about library versions, locations, multiple versions, ...
If you have a problem you can copy-paste the important lines e.g.
Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino-1.8.13\hardware\arduino\avr\libraries\SPI
Using library Mcufriend_kbv at version 2.9.9-Release in folder: C:\Users\David Prentice\Documents\Arduino\libraries\Mcufriend_kbv
Using library Adafruit_GFX_Library at version 1.10.7 in folder: C:\Users\David Prentice\Documents\Arduino\libraries\Adafruit_GFX_Library
Using library Adafruit_BusIO at version 1.7.3 in folder: C:\Users\David Prentice\Documents\Arduino\libraries\Adafruit_BusIO
Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino-1.8.13\hardware\arduino\avr\libraries\Wire
"C:\\Users\\David Prentice\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\DAVIDP~1\\AppData\\Local\\Temp\\arduino_build_800998/graphictest_glue.ino.elf"
Sketch uses 31466 bytes (97%) of program storage space. Maximum is 32256 bytes.
Global variables use 1702 bytes (83%) of dynamic memory, leaving 346 bytes for local variables. Maximum is 2048 bytes.
Low memory available, stability problems may occur.
Or if desperate you can copy to a TXT file and attach the TXT file.
I deleted the existing library from my libraries folder (I am on a Mac). I reinstalled from the Library Manager. In the version I had installed I did not find
I made the 3 changes and now it is working. As I try the various examples I am getting the odd timeout but I can live with that.
You should avoid manually installing libraries. Or using any library from "unknown" source e.g. Open-Smart
The Library Manager will report version etc. And show you the approved Repository on GitHub.
Most importantly it only installs the Release. It does not install the "current Beta" e.g. the current GitHub "master" Branch