loading
3CommentsJoined January 31st, 2017

Tell us about yourself!

Complete Your Profile
  • EnesY4 commented on InevitableCraftsLab's instructable MIDI TO ARDUINO3 months ago
    MIDI TO ARDUINO

    I have a error bij MIDI.read();

    View Instructable »
  • EnesY4 commented on amandaghassaei's instructable Send and Receive MIDI with Arduino3 months ago
    Send and Receive MIDI with Arduino

    #include <MIDI.h>#include <Wire.h>#include <Adafruit_MCP23017.h>int statusLed = 3;Adafruit_MCP23017 mcp;void setup() { MIDI.begin(); MIDI.setHandleNoteOn(HandleNoteOn); MIDI.setHandleNoteOff(HandleNoteOff); mcp.begin(); mcp.pinMode(0, OUTPUT);mcp.pinMode(1, OUTPUT);mcp.pinMode(2, OUTPUT);mcp.pinMode(3, OUTPUT);mcp.pinMode(4, OUTPUT);mcp.pinMode(5, OUTPUT);mcp.pinMode(6, OUTPUT);mcp.pinMode(7, OUTPUT);mcp.pinMode(8, OUTPUT);mcp.pinMode(9, OUTPUT);mcp.pinMode(10, OUTPUT);mcp.pinMode(11, OUTPUT);mcp.pinMode(12, OUTPUT);mcp.pinMode(13, OUTPUT);mcp.pinMode(14, OUTPUT);mcp.pinMode(15, OUTPUT);mcp.pinMode(16, OUTPUT); mcp.digitalWrite(0,LOW);mcp.digitalWrite(1,LOW);mcp.digitalWrite(2,LOW);mcp.digitalWrite(3,LOW);mcp.digitalWrite(4,LOW);mcp.digitalWrite(5,LOW);mcp...see more »#include <MIDI.h>#include <Wire.h>#include <Adafruit_MCP23017.h>int statusLed = 3;Adafruit_MCP23017 mcp;void setup() { MIDI.begin(); MIDI.setHandleNoteOn(HandleNoteOn); MIDI.setHandleNoteOff(HandleNoteOff); mcp.begin(); mcp.pinMode(0, OUTPUT);mcp.pinMode(1, OUTPUT);mcp.pinMode(2, OUTPUT);mcp.pinMode(3, OUTPUT);mcp.pinMode(4, OUTPUT);mcp.pinMode(5, OUTPUT);mcp.pinMode(6, OUTPUT);mcp.pinMode(7, OUTPUT);mcp.pinMode(8, OUTPUT);mcp.pinMode(9, OUTPUT);mcp.pinMode(10, OUTPUT);mcp.pinMode(11, OUTPUT);mcp.pinMode(12, OUTPUT);mcp.pinMode(13, OUTPUT);mcp.pinMode(14, OUTPUT);mcp.pinMode(15, OUTPUT);mcp.pinMode(16, OUTPUT); mcp.digitalWrite(0,LOW);mcp.digitalWrite(1,LOW);mcp.digitalWrite(2,LOW);mcp.digitalWrite(3,LOW);mcp.digitalWrite(4,LOW);mcp.digitalWrite(5,LOW);mcp.digitalWrite(6,LOW);mcp.digitalWrite(7,LOW);mcp.digitalWrite(8,LOW);mcp.digitalWrite(9,LOW);mcp.digitalWrite(10,LOW);mcp.digitalWrite(11,LOW);mcp.digitalWrite(12,LOW);mcp.digitalWrite(13,LOW);mcp.digitalWrite(14,LOW);mcp.digitalWrite(15,LOW);mcp.digitalWrite(16,LOW);}void loop() { MIDI.read(); // HERE IS THE ERROR exit status 1'MIDI' was not declared in this scope }void HandleNoteOn(byte channel, byte note, byte velocity){ switch (note){ case 72:// C mcp.digitalWrite(0, HIGH); break; case 74:// D mcp.digitalWrite(1, HIGH); break; case 76: // E mcp.digitalWrite(2, HIGH); break; case 77: // F mcp.digitalWrite(3, HIGH); break; case 79: //G mcp.digitalWrite(4, HIGH); break; case 81: // A mcp.digitalWrite(5, HIGH); break; case 83:// B mcp.digitalWrite(6, HIGH); break; case 84:// C+ mcp.digitalWrite(7, HIGH); break; }}void HandleNoteOff(byte channel, byte note, byte velocity){ .switch (note){ case 72:// C mcp.digitalWrite(0, LOW); break; case 74:// D mcp.digitalWrite(1, LOW); break; case 76: // E mcp.digitalWrite(2, LOW); break; case 77: // F mcp.digitalWrite(3, LOW); break; case 79: //G mcp.digitalWrite(4, LOW); break; case 81: // A mcp.digitalWrite(5, LOW); break; case 83:// B mcp.digitalWrite(6, LOW); break; case 84:// C+ mcp.digitalWrite(7, LOW); break; }}

    View Instructable »
  • EnesY4 commented on Tokyo_Steve's instructable Automated MIDI Xylophone3 months ago
    Automated MIDI Xylophone

    Your code is now with only the note of MIDI, how i can change that with the note and velocity?

    View Instructable »
  • EnesY4 followed Tokyo_Steve3 months ago
      • Automated MIDI Xylophone