Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 0:a0bbe9291005
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Sun Apr 26 09:19:13 2015 +0000
@@ -0,0 +1,30 @@
+/** Beispiel fuer die Dot LED Matrix Ansteuerung
+*/
+#include "mbed.h"
+#include "Driver.h"
+
+// Dot LED Matrix Driver (SPI-2 Anschluss)
+LMDriver matrix( D11, D12, D13, D9 );
+
+int main()
+{
+ matrix.Setup();
+ // Scrollgeschwindigkeit
+ matrix.SetWaitTime( 0.4f );
+
+ while ( 1 )
+ {
+ // String welcher scrollend dargestellt wird.
+ matrix.DisplayString( "Das ist ein Test mit 26.3C" );
+ wait( 1.0f );
+
+ // Alfabet anzeigen
+ for ( unsigned char i = '0'; i <= 'z'; i++ )
+ {
+ matrix.DisplayChar( i );
+ wait( 0.5f );
+ }
+ }
+}
+
+