This pratfall machine takes advantage of shoddy construction techniques for comedic effect. The use of wheels in the body’s design creates a diversion, giving the viewer the false impression that the machine will produce forward momentum. This tactic helps to increase the comedic factor of the device, something that looks like it could do something, but in reality, just dis-assembles itself through the slowly increasing angle of the central moving arm.
#include <Servo.h> Servo my_Servo; const float destroy = 2; void setup() { my_Servo.attach(9); int angle = 130; int degree = 60; } void loop() { for (int angle = 110; angle <= 200; angle = angle + destroy) { int degree = 180 - angle; my_Servo.write(angle); delay(400); my_Servo.write(degree); delay(400); } }
Leave a Reply
You must be logged in to post a comment.