Skip to content

Trying to work with MIDI Shield on SerialPort 2 (pins 16/17) #317

Answered by ralbright-wa
ralbright-wa asked this question in Q&A
Discussion options

You must be logged in to vote

@franky47, I am trying that. But it is not wanting to fire up. Here is my code:

#include <FastLED.h>
#include <MIDI.h>
// This library defines a simple list structure to keep track of multiple notes played simultaneously by the player
#include "noteList.h"
// Lookup table to define tone frequency of musical notes. e.g. Concert A = 440Hz
#include "pitches.h"

// Standard Epicenter Libraries
#include <SPI.h>
#include <Ethernet.h>
#include <Wire.h>
#include <aREST.h>
#include <avr/wdt.h>
#include <SoftwareSerial.h>

#define debug
   int rxPin = 17;
   int txPin = 16;
   SoftwareSerial mySerial = SoftwareSerial(rxPin, txPin);

// CONSTANTS
// Define the number of steps in the sequence that th…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@franky47
Comment options

@ralbright-wa
Comment options

@franky47
Comment options

Answer selected by franky47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants