How do you make the home icon in your examples fade in and fade out?

The fading is really controlled by the MCU controlling EVE. The fade affect is related to the alpha value of the icon (bitmap).

static void showhome()

{

if (!screen.snapshot && homefade) {

VC.command(COLOR_A(min(255, homefade * 3)));

static PROGMEM prog_uint32_t std1[] = {

TAG(TAG_HOME),

LINE_WIDTH(48),

BEGIN(RECTS),

COLOR_RGB(0,0,0),

VERTEX2II(4, 4, 0, 0),

VERTEX2II(6+32, 6+32, 0, 0),

COLOR_RGB(255,255,255),

VERTEX2II(5, 5, 0, 0),

VERTEX2II(5+32, 5+32, 0, 0),

BEGIN(BITMAPS),

COLOR_RGB(0,0,0),

VERTEX2II(5, 5, 14, 0),

};

MEMCMD(std1);

}

endframe();

}

The value of “homefade” is affected by touch events on the screen.