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: NokiaLCD_SWSPI MAG3110 mbed-src MMA8451Q TSI
Diff: main.cpp
- Revision:
- 0:34b921aa05a6
- Child:
- 2:de077e491bd5
diff -r 000000000000 -r 34b921aa05a6 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Tue Feb 18 04:21:41 2014 +0000
@@ -0,0 +1,18 @@
+#include "mbed.h"
+#include "NokiaLCD_SWSPI.h"
+
+NokiaLCD_SWSPI lcd6100(D11, D12, D13, D9, D8, NokiaLCD_SWSPI::PCF8833);
+DigitalOut led(LED1);
+
+int main() {
+
+ while(1) {
+ led = 1;
+ wait(0.2);
+ led = 0;
+ wait(0.2);
+ printf("this is a test. \n\r");
+ lcd6100.printf("this is a test \n\r");
+
+ }
+}