Merged shield code with more complete graphics test from Adafruit example files