Help this syntax to load bitmap in this lcd:
The lcd is 192x64 width bv4613 controler, in the library the void is: void PaintBitmap(TPointI,::TBitmap *);
TPoint I have it clear that geometry is the same for other drawings.
TBitmap is what I can not clarify in library is:
struct TBitmap
{
int Height;
int Width;
unsigned char *Data;
};
In the skeech I write:
#include <BV4613.h>
#include <Geometria.h>
#include <twi.h>
#include "mapa.h"
BV4613(lcd);
lcd.PaintBitmap(TPointI(1,1),TBitmap(60,60),mapa);
The error is:
GLCD_192X64.cpp: In function 'void setup()':
GLCD_192X64:27: error: no matching function for call to 'TBitmap::TBitmap(int, int)'
E:\arduino-1.0\libraries\BV4613LIB/BV4613.h:23: note: candidates are: TBitmap::TBitmap()
E:\arduino-1.0\libraries\BV4613LIB/BV4613.h:23: note: TBitmap::TBitmap(const TBitmap&)