now that you have your hardware, and a UserID + API key from the Web server section, now it is time to upload the code to the Arduino.

to do this you will have to download and install the Arduino software. I would recommend using a slightly older 1.5.x installer, which adafruit recommends for use with the WiFi library. They have downloads available for windows, Macintosh, and Linux.

first you must install the Arduino libraries from the folder /Arduino/libraries/ to your local /libraries/ folder in the root of your Arduino installation directory. Literally this is just a copy and paste operation.

The source code for the version 2 touch screen project are in the /Arduino/tft folder. There are no source code modifications required for the version 2 build. Open the tft.ino file, connect your arduino to the PC using the USB cable, and upload the code.

All of the settings for this build are stored on an SD card. Copy the files from the /tft/SDCard_Files folder onto your Micro SD card. Open public.ini, edit it with your settings, and then save it as private.ini. Thats it!

Configuration settings can be changed at runtime without the need to restart. Some are directly editable on the modify tab of the config screen. Other can be changed by editing the ini file and then choosing the reload cfg option. Note: for reload cfg to work after removing sdcard you will need to tweak your SD.cpp library file.

An example file is below:

# edit this file and save as private.ini
# place a copy of it in the root of your sdcard
# valid values for security = wep, none, wpa, wpa2
# note wep keys must be valid hex chars lowercase only! 

[wifi]
ssid     = mywifiname
security = wep
pass     = baadf00d11

[config]
ext_watchdog = 1
temp_shift   = 0
humi_shift   = 2
debug_local  = 0
demoMode     = 1
speedMode    = 0

[web]
client_id = 1
apikey    = password
server    = sandsprite.com
test_ip   = 192.168.0.10
Congrats setup is complete and you should see information start to show up on the TFT screen!