var Graphics = { createArrayBuffer : function(x,y,bpp,flags) {
return { buffer : new ArrayBuffer(x*y*bpp >> 3); }
}};
... or something like that. Obviously you don't get any graphics functions but if you're happy poking bits and just want to use the existing drivers, that could be an option.
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.
Since it's JS, you can also fake it:
... or something like that. Obviously you don't get any graphics functions but if you're happy poking bits and just want to use the existing drivers, that could be an option.