Facebook
From Mustard Marten, 6 Years ago, written in C.
This paste is a reply to Untitled from Emerald Leech - go back
Embed
Viewing differences between Untitled and Re: Untitled
void setup() {
  pinMode(PWMA, OUTPUT);
  pinMode(DIRB, OUTPUT);
  pinMode(PWMB, OUTPUT);
loop(){
  for(int c = 0; c < 400; c++) {
        step(1);
        delay(5); 
  }
  for(int c = 0; c < 400; c++) {
        delay(5); 
  }
}