tim003 tim003
/
LukaIElmir
Luka Elmir
main.cpp
- Committer:
- tim003
- Date:
- 2014-05-26
- Revision:
- 4:ba24ce878e87
- Parent:
- 3:43648fa57d55
- Child:
- 5:654e3398c1ef
File content as of revision 4:ba24ce878e87:
#include "mbed.h" #include "DotMatrix.h" #include "MatrixSPI.h" MatrixSPI mspi; /*void funkcija(){ int temp = pot*16; load = LOW; max72_spi.write(max7219_reg_intensity); max72_spi.write(temp); load = HIGH; }*/ DotMatrix d; int main() { d.buffer[0] = 0x1f; d.buffer[1] = 0x15; d.buffer[2] = 0x15; d.buffer[3] = 0x11; d.buffer[4] = 0x0f; d.buffer[5] = 0x03; d.refresh(); //enable = 1; /*t.attach(&funkcija, 0.01); setup (); while(1){ loop (); }*/ }