Yoshitaka Kuwata
/
spi7seg_test
7seg SPI LED mocude test program
Revision 1:48e2c8603f94, committed 2015-01-30
- Comitter:
- morecat_lab
- Date:
- Fri Jan 30 21:08:20 2015 +0000
- Parent:
- 0:1d34bbc9e7a4
- Commit message:
- 1st publish
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 1d34bbc9e7a4 -r 48e2c8603f94 main.cpp --- a/main.cpp Fri Jan 30 21:07:11 2015 +0000 +++ b/main.cpp Fri Jan 30 21:08:20 2015 +0000 @@ -10,12 +10,12 @@ mySpi7Seg.begin(); while(1) { myled = 1; -// mySpi7Seg.writeNum(i); - mySpi7Seg.writeHex(i); + mySpi7Seg.writeNum(i); +// mySpi7Seg.writeHex(i); mySpi7Seg.update(); -// wait(0.02); + wait(0.02); myled = 0; -// wait(0.02); + wait(0.02); i++; } }