Holger Wirtz 1 year ago
parent aaf85277b9
commit acdb1fecaf
  1. 8
      MIDI-Host-Adapter.ino

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

Loading…
Cancel
Save