Presto display in 480 by 480 using C/C++

I am using a presto to display varying parameters on a 400 by 200 matrix. This appears t work well under python but I decided to change to C/C++ to speed it up along with forcing integer arithmetic only (I needed int() a lot in python).

The change was made and the graphics generated using a copy of the mGraphics package but I find no way of getting the 480 by 480 resolution. The python line ‘presto = Presto(full_res=True)’ cannot be used and there appears to be no alternative.

I changed the FRAME_WIDTH and FRAME_WIDTH to 480 but the device then ‘hung’ with no display and needed a full hard reboot to recover it.

There appears to be enough memory for this mode (16-bit colour) but try as I may I cannot get the resolution.

What am I missing?

OK. Further testing indicates there is not enough memory.

Is there a work-round or can the display only be used in the 240 by 240 mode?