Update SmoothDoubleBuffer.ino
This commit is contained in:
parent
20eea3c3d3
commit
744e7354dc
1 changed files with 7 additions and 2 deletions
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue