BaseMachine UI Controllerに分離
Dependencies: AverageAnalogIn PinDetect RotaryEncoder Sequence SequencerDisplay mbed-rtos mbed st7567LCD BaseMachineComon
Fork of BaseMachine_Sequencer by
Diff: main.cpp
- Revision:
- 32:2a4554f8ad3e
- Parent:
- 31:16d1fbf3a167
- Child:
- 33:a24a4c435973
--- a/main.cpp Sun Sep 04 08:47:50 2016 +0000 +++ b/main.cpp Wed Sep 07 16:11:21 2016 +0000 @@ -21,7 +21,7 @@ #include "ST7565_SequencerDisplay.h" #define TITLE_STR1 ("BaseMachine Sequencer") -#define TITLE_STR2 ("20160903") +#define TITLE_STR2 ("20160908") #define SEQUENCE_N (16) #define SPI_RATE (16000000) // Actual frequency about 5MHz @@ -178,7 +178,7 @@ //------------------------------------------------------------------------ void pollingPots() { - //pulseWidth = AinPulseWidth.read_u16() >> 8; + sequenceSender.setPulseWidth(AinPulseWidth.read_u16() >> 8); filterController.setCutoff(AinCutOff.read_u16() >> 8); filterController.setResonance(AinResonance.read_u16() >> 8);