diff --git a/UCTRONICS_Smart_Robot_Car/example/Smart_Robot_Car_V2/Smart_Robot_Car_V2.ino b/UCTRONICS_Smart_Robot_Car/example/Smart_Robot_Car_V2/Smart_Robot_Car_V2.ino index 752f3c1..1111c3d 100644 --- a/UCTRONICS_Smart_Robot_Car/example/Smart_Robot_Car_V2/Smart_Robot_Car_V2.ino +++ b/UCTRONICS_Smart_Robot_Car/example/Smart_Robot_Car_V2/Smart_Robot_Car_V2.ino @@ -215,7 +215,7 @@ void turn() { moveBackward(); delay(500); int x = random(1); - if (x = 0) { + if (x == 0) { turnRight(); } else {