Code: Select all
attachInterrupt(Chan1Interrupt, Chan1_begin, RISING);
//attachInterrupt(Chan2Interrupt, Chan2_begin, RISING);
Code: Select all
if(Chan1_val > 1650 && Chan1_val <= 1910) {
playfile("BRASS.WAV");
}
Moderators: adafruit_support_bill, adafruit
Code: Select all
attachInterrupt(Chan1Interrupt, Chan1_begin, RISING);
//attachInterrupt(Chan2Interrupt, Chan2_begin, RISING);
Code: Select all
if(Chan1_val > 1650 && Chan1_val <= 1910) {
playfile("BRASS.WAV");
}
EDIT : ok - interesting experiment. Still not seeing the problem...I just tried an experiment and tied the music triggering to Chan1 like this: