test aff8x8 avec 2*74HC595 (KRM2388AURPGB)
Fork of DigitalIn_test by
Revision 3:555b0f6dd516, committed 2015-03-09
- Comitter:
- ER4
- Date:
- Mon Mar 09 17:13:23 2015 +0000
- Parent:
- 2:a0e8e160bed1
- Commit message:
- affichage smiley
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Mar 09 11:13:37 2015 +0000 +++ b/main.cpp Mon Mar 09 17:13:23 2015 +0000 @@ -17,9 +17,9 @@ char Im [8][8] = { {0,0,0,0,0,0,0,0}, - {0,0,1,0,1,0,0,0}, - {0,0,1,0,1,0,0,0}, - {0,0,1,0,1,0,0,0}, + {0,1,1,0,0,1,1,0}, + {0,1,1,0,0,1,1,0}, + {0,0,0,0,0,0,0,0}, {1,0,0,0,0,0,0,1}, {0,1,1,1,1,1,1,0}, {0,0,0,0,0,0,0,0}, @@ -37,6 +37,7 @@ spi.format(8,3); spi.frequency(1000000); while(1){ + for(i=0;i<8;i++){ for (j=0;j<=7;j++){ //spi.write(colone[j]);