@kisvegabor wants you to remove all of the code that actually draws to the display. Therefore you don’t need
set_px_cb
. Basically you are temporarily making a dummy driver.
Ok, but if I do that I will need a buffer 128x240 bytes wide as opposed to the current (128x240)/8, and unfortunately my device (PIC24EP512GP206) doesn’t have enough memory.