From 7ed06c1217b748edcd0a5c2bf5ff4722194c05e1 Mon Sep 17 00:00:00 2001 From: Mike Causer Date: Sun, 17 Oct 2021 01:00:43 +1100 Subject: Fix some typos --- examples/BouncingSquares/BouncingSquares.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/BouncingSquares') diff --git a/examples/BouncingSquares/BouncingSquares.ino b/examples/BouncingSquares/BouncingSquares.ino index 09d3ddd..7d61491 100644 --- a/examples/BouncingSquares/BouncingSquares.ino +++ b/examples/BouncingSquares/BouncingSquares.ino @@ -64,7 +64,7 @@ void loop() for (int i = 0; i < numSquares; i++) { - // Draw rect and then calculatae + // Draw rect and then calculate display->fillRect(Squares[i].xpos, Squares[i].ypos, Squares[i].square_size, Squares[i].square_size, Squares[i].colour); if (Squares[i].xpos >= display->width()) { Squares[i].velocityx *= -1; } else if (Squares[i].xpos <= 0) { Squares[i].velocityx = abs (Squares[i].velocityx); } -- cgit v1.3.1