Test program for BaseMachineUIController Library
Dependencies: AverageAnalogIn BaseMachineUIController ExioBufferdController MCP23S17 PinDetect RotaryEncoder Sequence SequencerDisplay mbed-rtos mbed st7567LCD AT24C1024
Diff: main.cpp
- Revision:
- 8:a2a2fbf9ba4f
- Parent:
- 6:e104230b642c
- Child:
- 10:a2b07e6985a6
--- a/main.cpp Mon Nov 14 06:24:15 2016 +0000 +++ b/main.cpp Mon Nov 14 15:51:52 2016 +0000 @@ -83,14 +83,13 @@ UIController.getEnvelopeParam(&env); int accentLevel = UIController.getAccentLevel(); - - //uint8_t va = exioInBufferA.readPort(); + int sequencePattern = UIController.getSequencePattern(); #if (UART_TRACE) printf("%d %d ", osc.waveShape, osc.pulseWidth); printf("%d %d ", flt.cutoff, flt.resonance); printf("%d %d %d %d %d ", env.level, env.length, env.duration, env.decay, env.sustain); - printf("%d %d\r\n", bpm, accentLevel); + printf("%d %d %d\r\n", bpm, accentLevel, sequencePattern); for (int i = 0; i < SEQUENCE_N; i++) { printf("%d %d %d %d %d %u\r\n", i,