Display Class for BaseMachine

Revision:
3:5b11261a545a
Parent:
2:60f7d4c54b5f
Child:
4:e51a5f0891a0
diff -r 60f7d4c54b5f -r 5b11261a545a ST7565_SequencerDisplay.h
--- a/ST7565_SequencerDisplay.h	Mon Aug 15 12:19:29 2016 +0000
+++ b/ST7565_SequencerDisplay.h	Tue Aug 23 10:28:44 2016 +0000
@@ -56,15 +56,15 @@
         gLCD->drawline(0, 63, 112, 63, 1);
         
         for (i = 0; i < 16; i++) {
-            if (sequences[i].noteOn) {
-                if (sequences[i].accent && sequences[i].tie) {
+            if (sequences[i].isNoteOn()) {
+                if (sequences[i].isAccent() && sequences[i].isTie()) {
                     gLCD->fillrect(i * 7, 57, 7, 6, 1);
                 } else {
                     gLCD->fillrect(i * 7, 59, 5, 4, 1);
-                    if (sequences[i].accent) {
+                    if (sequences[i].isAccent()) {
                         gLCD->fillrect(i * 7, 57, 5, 4, 1);
                     }
-                    if (sequences[i].tie) {
+                    if (sequences[i].isTie()) {
                         gLCD->fillrect(i * 7 + 5, 59, 2, 4, 1);
                     }
                 }