Skip to content

Commit

Permalink
Update ExampleReplaceRectangles.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
Bexin3 authored May 19, 2024
1 parent 92adbac commit 2890db5
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions examples/ExampleReplaceRectangles/ExampleReplaceRectangles.ino
Original file line number Diff line number Diff line change
Expand Up @@ -200,17 +200,14 @@ zoom = 1;
rotation = 0;
shifti = 400; //Horizontal
shiftj = 240; //Vertical
testRast = GetRasterData(0, 0, 1, 0, 800, 480);
testRast2 = GetRasterData(0, 0, 1, 0, 0, 0);
RectangleReplacement(testRast, testRast2, rand());
testRast = testRast2;
};

if (contacts == 4 && PreviousContacts != 4) {
if (pause == 0) {
pause = 1;
} else {
pause = 0;
};
};

//Serial.println(shiftj);
//Serial.println(zoom);

}
}

0 comments on commit 2890db5

Please sign in to comment.