Message scroller
Dependencies: HT1632_LedMatrix mbed-rtos mbed
Revision 2:f6d3011fb5bb, committed 2012-11-28
- Comitter:
- SomeRandomBloke
- Date:
- Wed Nov 28 22:00:47 2012 +0000
- Parent:
- 1:fecc093f43d4
- Child:
- 3:91c74da4b95a
- Commit message:
- Example message scroller
Changed in this revision
HT1632_LedMatrix.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HT1632_LedMatrix.lib Wed Nov 28 16:51:07 2012 +0000 +++ b/HT1632_LedMatrix.lib Wed Nov 28 22:00:47 2012 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/SomeRandomBloke/code/HT1632_LedMatrix/#af973a9c48b2 +http://mbed.org/users/SomeRandomBloke/code/HT1632_LedMatrix/#0fac71b7ec1d
--- a/main.cpp Wed Nov 28 16:51:07 2012 +0000 +++ b/main.cpp Wed Nov 28 22:00:47 2012 +0000 @@ -2,7 +2,7 @@ #include "mbed.h" #include "rtos.h" -#include <HT1632_LedMatrix.h> +#include "HT1632_LedMatrix.h" Serial pc(USBTX, USBRX); // tx, rx @@ -53,7 +53,7 @@ // newer ones dont unless you want a gap between the displays. // Num horizontal displays 1 to 4, num vertical displays 1 to 4. Max 4 displays can be used. // Usable combinations are 1,1; 2,1; 3,1; 4,1; and 2,2; 1,2; 1,3; 1,4; with gaps!! - led.init(1,1); + led.init(4,1); pc.baud(9600); printf("LED Matrix dislay test"); led.clear();