Fork of bouncing_ball by
Diff: bouncing_ball.cpp
- Revision:
- 3:b3d6cd568c6c
- Parent:
- 2:ba1844b0eb9f
- Child:
- 5:dd8df17df666
--- a/bouncing_ball.cpp Tue Nov 07 12:07:13 2017 +0000 +++ b/bouncing_ball.cpp Tue Nov 07 15:24:26 2017 +0000 @@ -89,7 +89,7 @@ //Increment color when the accelerometer turned upside down. //It's up to the main code to interpret the color. color += 1; - if (color > 3) { + if (color > 2) { color = 0; } } \ No newline at end of file