Yes, I'm afraid that the data can't be stored in Espruino - there's just not enough RAM. At the moment there isn't a way of storing the changed area - you'd have to keep track of it yourself (or perhaps call the same draw function again, but with the colour set to black).
There is some work that could be done on Espruino (adding an SPI.write function with a count argument) that could really speed up ILI9341 - so hopefully some time soon I'll be able to implement that, and the write speed (especially for clears and fills) will take a huge jump.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, I'm afraid that the data can't be stored in Espruino - there's just not enough RAM. At the moment there isn't a way of storing the changed area - you'd have to keep track of it yourself (or perhaps call the same draw function again, but with the colour set to black).
There is some work that could be done on Espruino (adding an SPI.write function with a count argument) that could really speed up ILI9341 - so hopefully some time soon I'll be able to implement that, and the write speed (especially for clears and fills) will take a huge jump.