<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MIDI Over Serial]]></title><description><![CDATA[<p dir="auto">Hey!</p>
<p dir="auto">I am quite stuck with getting MIDI to work on my Grey Core. I am Using Serial2 (that should be GIOP16 for RX and GIOP17 for TX) and am using the MIDI Library from FortySevenEffects (its the most common used one, as far as I know). I connected the DIN Port to 3.3V, GND and the Port labeled 17 via a 220Ohm resistor to the 3rd pin. As i did a lot of Midi Projects with Arduino, Teensy and ESB32 boards, this should run without any issues. Even the Test-DIN Port is reused from the Teensy Project. But I get no result. My standard test sketch, that sends NoteOn and NoteOff on all MidiChannels does not Trigger any notes?<br />
Is the Labeling on the M5 Stacks button not the Number of the GIOP?</p>
<p dir="auto">Any help aprecheated!</p>
<pre><code>#include &lt;M5Stack.h&gt;
#include &lt;MIDI.h&gt;

MIDI_CREATE_INSTANCE(HardwareSerial, Serial2, MIDI);

void setup() {
  M5.begin();
  dacWrite(25, 0);
  M5.Lcd.print( "M5 MIDI Test");
  MIDI.begin(MIDI_CHANNEL_OMNI);
}

void loop() {
  M5.Lcd.setCursor( 0, 30);
  M5.Lcd.fillRect( 0, 30, 100, 100, BLACK);
  M5.Lcd.print( "ON");
  for( uint8_t i = 0; i &lt; 16; ++i) {
    MIDI.sendNoteOn( 62, 127, i);
  }
  delay( 1000);
  M5.Lcd.setCursor( 0, 30);
  M5.Lcd.fillRect( 0, 30, 100, 100, BLACK);
  M5.Lcd.print( "Off");
  for( uint8_t i = 0; i &lt; 16; ++i) {
    MIDI.sendNoteOff( 62, 127, i);
  }
  delay( 1000);
}
</code></pre>
]]></description><link>https://community.m5stack.com/topic/2240/midi-over-serial</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 05:24:07 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2240.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Aug 2020 04:36:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MIDI Over Serial on Tue, 25 Aug 2020 11:44:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jkirchheimer" aria-label="Profile: jkirchheimer">@<bdi>jkirchheimer</bdi></a> are you using the M5stack internal speaker for the MIDI sounds, because “dacWrite(25, 0);“ mutes the speaker</p>
]]></description><link>https://community.m5stack.com/post/9830</link><guid isPermaLink="true">https://community.m5stack.com/post/9830</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Tue, 25 Aug 2020 11:44:22 GMT</pubDate></item></channel></rss>