Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: SequencerDisplay.h
- Revision:
- 3:5b11261a545a
- Parent:
- 1:1f6d3e65d946
- Child:
- 4:e51a5f0891a0
--- a/SequencerDisplay.h Mon Aug 15 12:19:29 2016 +0000
+++ b/SequencerDisplay.h Tue Aug 23 10:28:44 2016 +0000
@@ -12,7 +12,7 @@
class SequencerDisplay {
public:
- typedef enum { stop, run } DISPLAY_MODE;
+ enum DisplayMode { stop, run };
SequencerDisplay(Sequence* _sequences, int _sequenceNum) :
sequences(_sequences),
@@ -20,7 +20,7 @@
octave(0),
bpm(120) {};
- void update(DISPLAY_MODE mode, int step) {
+ void update(enum DisplayMode mode, int step) {
switch (mode) {
case run:
displayWhileRun(step);
@@ -54,8 +54,8 @@
Sequence* sequences;
int sequenceNum;
+ int octave;
int bpm;
- int octave;
};
#endif //_SEQUENCE_DISPLAY_H_
\ No newline at end of file