I want to use a servo to make a sorter machine and I wanted to test the sketch without the part to recognize the product only the part where the servo is moving. The recognize sketch sorts the products per number. And I left it out and use the random number function to replace that part. and with the number that I receive I used the switch case function and I reffered it to the function to say how many degrees the servo had to rotate. The servo didn’t work, but it only vibrated. I wanted to check it with the serial print and I could see on that that every step was run through.
And the servo is a continious rotation servo from parralax
Hopefully somebody can help me
sketch_rgb___servo_______.ino (2.6 KB)