I updated my copy of lcd_spi_unbuf with the optimisation suggested by Gordon. I did the comparison for drawImage again and the lcd_spi_unbuf version is now as fast if not faster than my original driver. It’s good as I can now save heap by dispensing with the chunk buffer.
@fanoush - yes, I had a look before - it’s really neat.
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.
I updated my copy of
lcd_spi_unbuf
with the optimisation suggested by Gordon. I did the comparison fordrawImage
again and thelcd_spi_unbuf
version is now as fast if not faster than my original driver. It’s good as I can now save heap by dispensing with the chunk buffer.@fanoush - yes, I had a look before - it’s really neat.