Update SetXY to Mem in interrupt