Hey Dulsi, thanks for your reply. Yes, display is set to 16 bit in my code, the exact line you wrote is in the setup.
Here is how I define the display:
TinyScreen display = TinyScreen(TinyScreenPlus);
And here is what my setup function looks like:
void setup() {
arcadeInit();
display.begin();
display.setBitDepth(TSBitDepth16);
display.setBrightness(15);
display.setFlip(false);
USBDevice.init();
USBDevice.attach();
SerialUSB.begin(9600);
}
Here is what the sprite code looks like:
const unsigned int tacoInvaderBitmap[] = {
0x00,0x00,0x00,0x00,0x00,0x1f,0x46,0xcb,0x46,0xcb,0x46,0xcb,0x00,0x1f,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x1f,0x46,0xcb,0x2c,0xdb,0x34,0xba,0x2c,0xbb,0x46,0xcb,0x00,0x1f,0x00,0x00,
0x46,0xcb,0x21,0x09,0x2c,0xdb,0x2c,0xda,0x34,0xbb,0x2c,0xba,0x2c,0xbb,0x21,0x09,0x46,0xcb,
0x21,0x09,0x2c,0xdb,0x2c,0xda,0x2c,0xbb,0x2c,0xba,0x34,0xbb,0x2c,0xba,0x34,0xbb,0x21,0x09,
0x21,0x09,0x2c,0xbb,0x34,0xda,0x2c,0xbb,0x2c,0xba,0x34,0xbb,0x2c,0xba,0x34,0xbb,0x21,0x09,
0x2c,0xbb,0x34,0xba,0x2c,0xbb,0x34,0xba,0x2c,0xbb,0x34,0xba,0x2c,0xbb,0x34,0xba,0x2c,0xbb,
0x2c,0xbb,0x34,0xba,0x2c,0xdb,0x2c,0xba,0x34,0xdb,0x2c,0xba,0x2c,0xdb,0x34,0xba,0x2c,0xdb,
};
Attached is how the image is looking like on the TinyScreen. The red square is this sprite, right below is another sprite defined with pre-defined colors.
Any ideas what may be causing this? Thanks again for your help.