Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (digitalRead(testJumper) && millis<100)
- {
- do
- {
- lcd.setCursor(0,0);
- lcd.Print("TEST MODE LOOP");
- for (int note=35; note<82; note++)
- {
- lcd.setCursor(0,1);
- lcd.print("Playing note : ");
- lcd.print(note);
- noteOn(drumchan, note, 100);
- delay(100);
- noteOff(drumchan, note, 0);
- delay(500);
- }
- }
- while(1);
- }
Advertisement
Add Comment
Please, Sign In to add comment