Display Class for BaseMachine
Diff: ST7565_SequencerDisplay.h
- Revision:
- 2:60f7d4c54b5f
- Parent:
- 1:1f6d3e65d946
- Child:
- 3:5b11261a545a
diff -r 1f6d3e65d946 -r 60f7d4c54b5f ST7565_SequencerDisplay.h --- a/ST7565_SequencerDisplay.h Fri Aug 12 23:36:42 2016 +0000 +++ b/ST7565_SequencerDisplay.h Mon Aug 15 12:19:29 2016 +0000 @@ -75,8 +75,10 @@ }; virtual void displayWhileStop(int step) { - /* - // テキストで表示 + displayWhileRun(step); + } + + void displayParams(int step) { char buff[64]; gLCD->clear(); sprintf(buff, "Step: %d", step); @@ -86,9 +88,7 @@ sprintf(buff, "BPM: %d", this->getBpm()); gLCD->drawstring(0, 2, buff); gLCD->display(); - */ - displayWhileRun(step); - } + }; private: ST7565* gLCD;