Novo

Dependencies:   mbed

Fork of LukaIElmir by tim003 tim003

Revision:
4:ba24ce878e87
Parent:
3:43648fa57d55
Child:
5:654e3398c1ef
diff -r 43648fa57d55 -r ba24ce878e87 DotMatrix.h
--- a/DotMatrix.h	Mon May 26 15:07:13 2014 +0000
+++ b/DotMatrix.h	Mon May 26 17:39:37 2014 +0000
@@ -41,16 +41,22 @@
     ModPrikazivanja dajMod() const{
         return mod;   
     }
-    
+    void SetRepeat(bool r){
+     repeat = r;   
+    }
     
+    bool GetRepeat() const{
+        return repeat;   
+    }
     
+    int buffer[8];
 private:
     void attach();
-    void prikaziScroll();
-    void prikaziCBC();
+    void prikaziScroll(){}
+    void prikaziCBC(){}
     
     MatrixSPI spi;
-    int buffer[8];
+    
     bool turnedON;
     string recenica;
     ModPrikazivanja mod;