Graphics Demos — image 1 of 1

adafruit_products_IMG_2066.jpg
details

The Adafruit_Arcada->mandelbrot example is a good demo to show how we allocate a full display buffer, do all our calculations, then draw it all at once.

Call arcada.createFrameBuffer(ARCADA_TFT_WIDTH, ARCADA_TFT_HEIGHT) to allocate a framebuffer in the arcada object, then request the pointer with framebuffer = arcada.getFrameBuffer();

Fill it up with data and call arcada.blitFrameBuffer(x, y, blocking); when its ready to draw all at once.

Back

Search