hi Guys,
I currently have a project going on for school. I'm supposed to build a house with a door that is opened by a servo motor and gets the signal through the ultrasonic sensor. There should be a table in the house, the tabletop of which should rotate continuously. I am not able to write a program for it, can someone help me? My current program without the stepper motor:
#include <Servo.h> #include <Stepper.h>
int SPU = 2048;
Stepper Motor(SPU, 3,5,4,6);
Servo myservo;
int pos = 20;
const int trigPin = 9;
const int echoPin = 10 ;
const int led = 13;
@clsslc, your topic was moved to a more suitable location on the forum.
Van you please spend some time reading How to get the best out of this forum, next edit your post and apply the code tags to your code as described in the link.