diff --git a/8By8/8By8.ino b/8By8/8By8.ino index bf584f7..7d3538f 100644 --- a/8By8/8By8.ino +++ b/8By8/8By8.ino @@ -476,6 +476,9 @@ void loop() { z = round(result); Cube::set_status(x, y, z, 3); } + else { + z = 0; + } Serial.print(x); Serial.print(" "); Serial.print(y);