I did it, I finally found some down time to update JOS to work with current libraries from Adafruit. Below is a link to the new code on Github. A few notes to look at are listed below.
First, this is code for the Touch Shield, but it can easily be changed to the breakout board, and don’t forget to uncomment the ‘#define USE_ADAFRUIT_SHIELD_PINOUT’ line in Adafruit_TFTLCD.h file.
Also, this sketch has pin 3 setup as the backlight on the shield. This way you have PWM control over the backlight. You can accomplish this by cutting the VCC trace and soldering the PIN3 jumper on the back of the shield. You can read more on how to do that here.
This sketch has EEPROM settings, if you have not used them before, the values will be zero and need to be set. There are notes about this in the sketch on lines 92 & 93.
A note on using ICSP: – The Square Inch is designed to accept an FTDI connection for programming. Because of this, a .1µF capacitor is between the reset line of the ATmega328P and the pin labeled DTR. This is so when you load new sketches on the Square Inch, it will reset automatically via the DTR line on the FTDI adapter. When you use ICSP, you need to bypass this capacitor! Otherwise it will not work. The programming board I used in the video had the capacitor bypassed with solder (pictured below). There is also a via to the right of the capacitor that leads to the reset line. This can be shorted to the DTR pin to accomplish the same task, as I did to program the assembled boards. Continue reading →