tim003 tim003
/
LukaIElmir
Luka Elmir
main.cpp@5:654e3398c1ef, 2014-05-26 (annotated)
- Committer:
- tim003
- Date:
- Mon May 26 18:28:21 2014 +0000
- Revision:
- 5:654e3398c1ef
- Parent:
- 4:ba24ce878e87
- Child:
- 6:dd675b967b60
jo? nest;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tim003 | 0:63f93da46011 | 1 | #include "mbed.h" |
tim003 | 3:43648fa57d55 | 2 | #include "DotMatrix.h" |
tim003 | 0:63f93da46011 | 3 | |
tim003 | 2:e4d483d82cd8 | 4 | #include "MatrixSPI.h" |
tim003 | 0:63f93da46011 | 5 | |
tim003 | 2:e4d483d82cd8 | 6 | MatrixSPI mspi; |
tim003 | 0:63f93da46011 | 7 | |
tim003 | 2:e4d483d82cd8 | 8 | /*void funkcija(){ |
tim003 | 1:8186a841911c | 9 | int temp = pot*16; |
tim003 | 1:8186a841911c | 10 | load = LOW; |
tim003 | 1:8186a841911c | 11 | max72_spi.write(max7219_reg_intensity); |
tim003 | 1:8186a841911c | 12 | max72_spi.write(temp); |
tim003 | 1:8186a841911c | 13 | load = HIGH; |
tim003 | 2:e4d483d82cd8 | 14 | }*/ |
tim003 | 2:e4d483d82cd8 | 15 | |
tim003 | 3:43648fa57d55 | 16 | DotMatrix d; |
tim003 | 0:63f93da46011 | 17 | int main() { |
tim003 | 4:ba24ce878e87 | 18 | |
tim003 | 4:ba24ce878e87 | 19 | |
tim003 | 5:654e3398c1ef | 20 | d.inicijaliziraj(); |
tim003 | 5:654e3398c1ef | 21 | d.PromijeniMod(char_by_char); |
tim003 | 5:654e3398c1ef | 22 | d.PromijeniRecenicu("ABCD"); |
tim003 | 5:654e3398c1ef | 23 | |
tim003 | 2:e4d483d82cd8 | 24 | //enable = 1; |
tim003 | 2:e4d483d82cd8 | 25 | /*t.attach(&funkcija, 0.01); |
tim003 | 5:654e3398c1ef | 26 | setup ();*/ |
tim003 | 5:654e3398c1ef | 27 | while(1){} |
tim003 | 0:63f93da46011 | 28 | } |
tim003 | 0:63f93da46011 | 29 | |
tim003 | 0:63f93da46011 | 30 | |
tim003 | 0:63f93da46011 | 31 | |
tim003 | 0:63f93da46011 | 32 |