From acdb1fecafb81f577d99258395c4a06797963321 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Sun, 10 Sep 2023 17:06:44 +0200 Subject: [PATCH] Fix. --- MIDI-Host-Adapter.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MIDI-Host-Adapter.ino b/MIDI-Host-Adapter.ino index 5a6e4d5..be43144 100644 --- a/MIDI-Host-Adapter.ino +++ b/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); }