Código simplificado, grados, funciona detencion filas, columna falta.
Fork of moggo by
Diff: moggo.cpp
- Revision:
- 3:990a096b8120
- Parent:
- 2:eac5a192998a
- Child:
- 4:25ef9b3bd177
--- a/moggo.cpp Wed Sep 12 17:09:26 2018 +0000 +++ b/moggo.cpp Wed Sep 12 18:10:17 2018 +0000 @@ -85,7 +85,8 @@ void imp_mat(uint8_t *temp){ uint8_t i=0; buscar_fil(); - for (i=0;i<fila;i++){ //Realiza la impresion de la matriz. + for (i=0;i<fila;i++){ + sendSPI(i-1,0); sendSPI(i,*(temp+0)); sendSPI(i+1,*(temp+1));