Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Pneumatics control
- //
- // starting position is with paper under piston.
- //
- const int MOVE = 5;
- const int STAMP = 6;
- void setup() {
- pinMode(MOVE, OUTPUT);
- pinMode(STAMP, OUTPUT);
- }
- void loop() {
- digitalWrite(STAMP, HIGH);
- delay(1000);
- digitalWrite(STAMP, LOW);
- delay(1000);
- digitalWrite(MOVE, HIGH);
- delay(1000);
- digitalWrite(STAMP, HIGH);
- delay(1000);
- digitalWrite(STAMP, LOW);
- delay(1000);
- digitalWrite(MOVE, LOW);
- delay(1000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement