Test program for BaseMachineUIController Library

Dependencies:   AverageAnalogIn BaseMachineUIController ExioBufferdController MCP23S17 PinDetect RotaryEncoder Sequence SequencerDisplay mbed-rtos mbed st7567LCD AT24C1024

Committer:
ryood
Date:
Mon Nov 28 00:37:46 2016 +0000
Revision:
14:51cd3ff5a42f
Parent:
13:0a1f83f3f7bb
impl. Load/Save Cancel.;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ryood 0:f3abbd84d67f 1 /*
ryood 0:f3abbd84d67f 2 * BaseMachine_Common.h
ryood 0:f3abbd84d67f 3 *
ryood 0:f3abbd84d67f 4 * 2016.11.07
ryood 0:f3abbd84d67f 5 *
ryood 0:f3abbd84d67f 6 */
ryood 0:f3abbd84d67f 7
ryood 0:f3abbd84d67f 8 #define TITLE_STR1 ("BaseMachine UI Controller")
ryood 13:0a1f83f3f7bb 9 #define TITLE_STR2 ("20161128")
ryood 0:f3abbd84d67f 10
ryood 0:f3abbd84d67f 11 #define SEQUENCE_N (16)
ryood 10:a2b07e6985a6 12 #define PATTERN_N (8)
ryood 0:f3abbd84d67f 13
ryood 0:f3abbd84d67f 14 const int baseNoteNumber = 36;
ryood 0:f3abbd84d67f 15
ryood 0:f3abbd84d67f 16 // Initial Sequence
ryood 0:f3abbd84d67f 17 const int noteOn[SEQUENCE_N] = { 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0 };
ryood 0:f3abbd84d67f 18 const int pitch[SEQUENCE_N] = {36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36 };
ryood 0:f3abbd84d67f 19 const int tie[SEQUENCE_N] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
ryood 0:f3abbd84d67f 20 const int accent[SEQUENCE_N] = { 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 };