|
|
@ -83,7 +83,7 @@ void setup() { |
|
|
|
|
|
|
|
|
|
|
|
SetMidiChannel(INITIAL_MIDI_CHANNEL); |
|
|
|
SetMidiChannel(INITIAL_MIDI_CHANNEL); |
|
|
|
|
|
|
|
|
|
|
|
Scrolling_Text(); |
|
|
|
//Scrolling_Text();
|
|
|
|
|
|
|
|
|
|
|
|
tm.DisplayDecNum(actual_channel, 0, false, TMAlignTextRight); |
|
|
|
tm.DisplayDecNum(actual_channel, 0, false, TMAlignTextRight); |
|
|
|
|
|
|
|
|
|
|
@ -155,9 +155,9 @@ void SetMidiChannel(uint8_t channel) { |
|
|
|
Serial.println(")"); |
|
|
|
Serial.println(")"); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
digitalWrite(MIDI_CH_BIT0, channel & 0x00); |
|
|
|
digitalWrite(MIDI_CH_BIT0, channel & 0x01); |
|
|
|
digitalWrite(MIDI_CH_BIT1, channel & 0x01); |
|
|
|
digitalWrite(MIDI_CH_BIT1, channel & 0x02); |
|
|
|
digitalWrite(MIDI_CH_BIT2, channel & 0x02); |
|
|
|
digitalWrite(MIDI_CH_BIT2, channel & 0x04); |
|
|
|
digitalWrite(MIDI_CH_BIT3, channel & 0x08); |
|
|
|
digitalWrite(MIDI_CH_BIT3, channel & 0x08); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|