ITDB02_Graph16_Demo an SainSmart Mega 2560(1280)+Sainsmart TFT Mega shield+ Touc

Hallo zusammen,

ich bin Neueinsteiger im Thema Arduino,

ich habe mir das SainSmart Mega 2560(1280)+Sainsmart TFT Mega shield+ Touch gekauft und
nun angefangen einfache schaltungen zu bauen,
soweit so gut.

Allerdings stoße ich an meine Grenzen, wenn ich den Sketch ITDB02_Graph16_Demo_Landscape überprüfen lasse und upladen möchte.

Ich bekomme Fehlermeldungen (Siehe unten) die ich nicht richtig deuten und beheben kann.
Ich gehe davon aus das es um ein Teil einer Bibliothek handelt, welche nicht gefunden werden kann... ?? nur Vermutung

Ich wäre dankbar für Eure hilfe..

Gruß
Thomas

**Fehlermeldung:[/b][/u]
ITDB02_Graph16_Demo_Landscape.pde:-1: error: 'ITDB02' does not name a type
ITDB02_Graph16_Demo_Landscape.cpp: In function 'void setup()':
ITDB02_Graph16_Demo_Landscape.pde:-1: error: 'myGLCD' was not declared in this scope
ITDB02_Graph16_Demo_Landscape.pde:-1: error: 'LANDSCAPE' was not declared in this scope
ITDB02_Graph16_Demo_Landscape.cpp: In function 'void loop()':
ITDB02_Graph16_Demo_Landscape.pde:-1: error: 'myGLCD' was not declared in this scope
ITDB02_Graph16_Demo_Landscape.pde:-1: error: 'CENTER' was not declared in this scope
ITDB02_Graph16_Demo_Landscape.pde:-1: error: 'LEFT' was not declared in this scope
ITDB02_Graph16_Demo_Landscape.pde:-1: error: 'RIGHT' was not declared in this scope
Auszüge aus dem Sketch:
[u]
// ITDB02_Graph16_Demo (C)2010 Henning Karlsen**[/u]
// web: http://www.henningkarlsen.com/electronics**[/u]
[u]
//**

// This program is a demo of how to use the library with the
// ITDB02-3.2 module. This demo should also work with the
// ITDB02-2.4 module in 16bit mode, but this is untested.
//
// This demo is not made for the ITDB02-3.2WC module. Use
// ITDB02_Graph16_Demo_Widescreen instead.
//
// This program requires the ITDB02_Graph16 (16bit mode).
//
// It is assumed that the ITDB02 module is connected to a
// ITDB02 Shield, a ITDB02 Mega Shield or that you know how
// to change the pin numbers in the setup.
//
#include <ITDB02_Graph16.h>
// Declare which fonts we will be using
extern uint8_t SmallFont[];
// Uncomment the next line for the ITDB02 Shield
//ITDB02 myGLCD(19,18,17,16);
// Uncomment the next line for the ITDB02 Mega Shield
ITDB02 myGLCD(38,39,40,41);
void setup()
{
** randomSeed(analogRead(0));**

// Setup the LCD
** myGLCD.InitLCD(LANDSCAPE);**
** myGLCD.setFont(SmallFont);**
}
void loop()
{
** int buf[318];**
** int x, x2;**
** int y, y2;**
** int r;**
Der sketch kommt von dieser Seite, hier der Download link.
[u]**http://www.sainsmart.com/zen/documents/20-011-846/3.2LCD.rar**[/u]
Gruß
Thomas

Danke für eure Hilfe, :.

konnte das Problem mit der Fehlermeldung eigenständig lösen.

Poste doch wie du es gelöst hast, wenn andere neulinge die sufu benutzen, können sie dann auch schnell ne lösung finden :wink: wars die lib oder wegen der ide1.0.1? :wink:
Lg
Andi

schade ... hätte seine Lösung gut gebrauchen können , stehe auch grade vor einem ähnlichen Problem...

Die Lib ist alt. Es gibt eine neue und die funktiniert wunderbar :smiley:

http://henningkarlsen.com/electronics/library.php?id=51