Hello. i`m new to arduino so please be kind.
i try to display on an TFT screen an 16x16 image converted with ImageConverte565.
this is what i have reach so far ![]()
i geth an error
C:\Users\PVD\Documents\Arduino\Mario\Mario.ino:38:52: note: no known conversion for implicit 'this' parameter from 'void (*)()' to 'uint16_t {aka unsigned int}'
exit status 1
expected identifier before numeric constant
thank you!
"
#include <TFT.h> // Arduino LCD library
#include <SPI.h>
#define cs 10
#define dc 9
#define rst 8
TFT TFTscreen = TFT(cs, dc, rst);
extern uint8_t SmallFont[];
extern uint8_t BigFont[];
extern uint8_t SevenSegNumFont[];
extern unsigned int ciuperca[0x100]; // Bird Bitmap
void setup() {
TFTscreen.begin();
TFTscreen.background(255, 255, 255);
//cDraw("ciuperca.c", 0, 0);
//TFTscreen.drawBitmap (50, 30,16,16,ciuperca);
//TFTscreen.image(ciuperca, 0, 30);
//TFTscreen.image(logo, x, y);
}
void loop() {
TFTscreen.begin();
TFTscreen.background(255, 255, 255);
TFTscreen.drawBitmap (50, 0, 16, 16, ciuperca,[1 ]);
}
"
Mario.ino (673 Bytes)
ciuperca.c (2.56 KB)