[Solved] I can’t see a mistake in my Arduino code. [closed]
On line 4 it says #define PinOut1 try adding a space to make it #define PinOut 1 EDIT: There were also a few other things I noticed after this post so I compiled a fixed version of your code: #include <Servo.h> #define trigPin 13 #define echoPin 12 #define PinOut1 11 Servo myservo; int AnalogIn=A0; int … Read more