bonjour,
je besoin d'un conseil
voilà j'ai un écran sur ma mega 240*320.
je souhaite passer du mode portrait en paysage, j'ai ce code de démo
// UTFT_Rotate_Bitmap (C)2012 Henning Karlsen
// web: http://www.henningkarlsen.com/electronics
//
// This program is a demo of the drawBitmap()-function.
//
// This program requires the UTFT library.
//
#include <UTFT.h>
#include <avr/pgmspace.h>
// Uncomment the next line for Arduino 2009/Uno
//
// Uncomment the next line for Arduino Mega
UTFT myGLCD(ITDB32S,38,39,40,41); // Remember to change the model parameter to suit your display module!
extern unsigned int tux[0x400];
void setup()
{
myGLCD.InitLCD(LANDSCAPE);
myGLCD.fillScr(255, 255, 255);
myGLCD.setColor(0, 0, 0);
}
void loop()
{
for (int i=0; i<360; i+=5)
{
myGLCD.drawBitmap (10, 10, 32, 32, tux, i, 16, 16);
}
}
j'ai l’erreur suivante:
:\Users\DD\Documents\Arduino_Build\UTFT_Rotate_Bitmap\UTFT_Rotate_Bitmap.cpp:95: error: 'UTFT' does not name a type
j'ai ma lib UTFT dans mon répertoire java/lib/
j'ai essayé avec la lib dans le répertoire librarie pas mieux !
qu'est ce qui coince????
merci de votre lecture.