Update SmoothDoubleBuffer.ino

This commit is contained in:
mrfaptastic 2021-08-19 20:09:10 +01:00 committed by GitHub
parent 20eea3c3d3
commit 744e7354dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,12 @@ void setup()
start_x = display->width(); start_x = display->width();
} }
/*
This example draws a red square on one buffer only, and a green square on another buffer only.
It then flips between buffers as fast as possible - to give the impression they're both on screen at the same time!
The only thing that's painted to both buffers is a blue square.
*/
const int square_size = 16; const int square_size = 16;
void loop() void loop()
{ {