Test program for BaseMachineUIController Library
Dependencies: AverageAnalogIn BaseMachineUIController ExioBufferdController MCP23S17 PinDetect RotaryEncoder Sequence SequencerDisplay mbed-rtos mbed st7567LCD AT24C1024
Diff: BaseMachineCommon.h
- Revision:
- 0:f3abbd84d67f
- Child:
- 2:354ca389e975
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BaseMachineCommon.h Sun Nov 06 22:14:03 2016 +0000 @@ -0,0 +1,19 @@ +/* + * BaseMachine_Common.h + * + * 2016.11.07 + * + */ + +#define TITLE_STR1 ("BaseMachine UI Controller") +#define TITLE_STR2 ("20161106") + +#define SEQUENCE_N (16) + +const int baseNoteNumber = 36; + +// Initial Sequence +const int noteOn[SEQUENCE_N] = { 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0 }; +const int pitch[SEQUENCE_N] = {36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36 }; +const int tie[SEQUENCE_N] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; +const int accent[SEQUENCE_N] = { 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 };