Browse files

updated pin assignments to match midi shield

  • Loading branch information...
1 parent 17e8290 commit fe52e6fdb69f72f2fb389c5266c8c62421b0d46b @vinmarshall committed Mar 13, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 chordinator/chordinator.pde
View
3 chordinator/chordinator.pde
@@ -42,7 +42,7 @@
#include <SparkSoftLCD.h> // download from http://openmoco.org/node/153
#include <MIDI.h> // download from http://sourceforge.net/projects/arduinomidilib
-#define LCD_PIN 4 // Serial LCD RX line
+#define LCD_PIN 5 // Serial LCD RX line
#define CHANNEL 1 // MIDI Channel
SparkSoftLCD lcd = SparkSoftLCD(LCD_PIN); // Serial LCD
@@ -52,6 +52,7 @@ int chord[CHORD_SIZE] = {0, 4, 7}; // Play a major chord
void setup() {
// Serial LCD Setup
pinMode(LCD_PIN, OUTPUT);
+ delay(500);
lcd.begin(9600);
lcd.clear();
lcd.cursor(0); // hide cursor

0 comments on commit fe52e6f

Please sign in to comment.