Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int* currentPat;
- int pat1[] = {0,2,1,2,0,2,1,2};
- int pat2[] = {0,2,1,2,0,3,0,3,1,2};
- int ms = 500;
- int timeUntilNextBeat = 0;
- int lastBeatTime = 0;
- int stepCount = 0;
- int currentStep = 1;
- //Serial.print("\n");
- void setup()
- {
- Serial.begin(9600);
- currentPat = *pat1;
- stepCount = sizeof(currentPat)/sizeof(int);
- Serial.print("\n\n<<<Program Start>>>\n");
- Serial.print("Count: ");
- Serial.print(stepCount);
- Serial.print("\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement