Nucleo Sequencer of my Base Machine

Dependencies:   Amp AverageAnalogIn Envelope FilterController Sequence BaseMachineComon mbed-rtos mbed

Fork of SpiSequenceSender_Test by Ryo Od

Revision:
31:16d1fbf3a167
Parent:
30:0f652280d6ee
Child:
32:2a4554f8ad3e
--- a/main.cpp	Sun Sep 04 08:05:24 2016 +0000
+++ b/main.cpp	Sun Sep 04 08:47:50 2016 +0000
@@ -58,18 +58,18 @@
 AverageAnalogIn AinDecay(PA_1);
 AverageAnalogIn AinSustain(PA_0);
 
-RotaryEncoder RotEncStep(PA_10, PB_3, 0, SEQUENCE_N - 1, 0);
+RotaryEncoder RotEncStep(PB_9, PB_8, 0, SEQUENCE_N - 1, 0);
 RotaryEncoder RotEncPitch(PB_5, PB_4, 0, Sequence::getMaxPitch() - 1, 0);
-RotaryEncoder RotEncBpm(PB_9, PB_8, bpmMin, bpmMax, 120);
+RotaryEncoder RotEncBpm(PC_12, PC_10, bpmMin, bpmMax, 120);
 
 PinDetect PinWaveShape(PD_2, PullUp);
 PinDetect PinUIMode(PC_11, PullUp);
-PinDetect PinOctaveUp(PC_10, PullUp);
-PinDetect PinOctaveDown(PC_12, PullUp);
-PinDetect PinNoteOnOff(PA_13, PullUp);
-PinDetect PinTie(PA_14, PullUp);
-PinDetect PinAccent(PA_15, PullUp);
-PinDetect PinRunStop(PB_7, PullUp);
+PinDetect PinOctaveUp(PB_3, PullUp);
+PinDetect PinOctaveDown(PA_10, PullUp);
+PinDetect PinNoteOnOff(PC_5, PullUp);
+PinDetect PinTie(PC_6, PullUp);
+PinDetect PinAccent(PC_8, PullUp);
+PinDetect PinRunStop(PC_9, PullUp);
 
 // Grobal Variables
 //