chipKIT® Development Platform

Inspired by Arduino™

chipkit uc32 with itead 2.4 tft touch

Created Wed, 16 Apr 2014 16:15:57 +0000 by goodyes


goodyes

Wed, 16 Apr 2014 16:15:57 +0000

Hello, I purchased the Itead 2.4 Touch shield Model: IM120417012 I try to use with Chipkit uc32 I also have arduino One,

The problem is that when i run the example code downloaded from itead website: http://imall.iteadstudio.com/im120419004.html the compiler tell that there are several error

A)#include <SdFat.h> ----> fatal error: SdFat.h: No such file or directory compilation terminated. Where's that file ?

B)Sd2Card card; ---> error: 'Sd2Card' does not name a type

Why i get this errors, what i miss, how to resolve ?


mboroff

Wed, 11 Mar 2015 00:41:18 +0000

JMHO, it sounds like they gave you Arduino code and maybe the incorrect library.

I would ask if you installed something like UTF for Chipkit 32. The examples there should work and don't require or reference the SD. Sometimes I think ITead support doesn't understand the Chipkit board is different. They told me they used an uno shield and compiled under MPIDE. owever, the pins are all different for TFT and the UTF library. UTF uses pins 37 - 40 which do not exist on a Uno.

Let me know if you get the ITead display to work. I have a project that could use a tft display instead of a 20x4 lcd. A 12 item menu is a bitch using one line to tell the user how to page forward.