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