The new Raspberry Pi B Model B+ is here - Pick one up in the store and check our detailed guide!

August 30, 2012 AT 12:18 pm

Updated menu OS for Adafruit 2.8″ Breakout and Touch Shields!

JOS FUNCTIONS from Jeremy Saglimbeni on Vimeo.

Updated menu OS for Adafruit 2.8″ Breakout and Touch Shields!. Jeremy writes -

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.

Related

“D is for Diode” – Circuit Playground Episode 4 is out now! CLICK HERE TO WATCH!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!



No Comments

No comments yet.

Sorry, the comment form is closed at this time.