Getting Started program for the mbed carrier module (EDP-CM-mbed) on the RS EDP (Embedded Development Platform). Read the 'Getting Started Guide for the ARM mbed Carrier Module' downloadable from the EDP Design Centre pages of the RS DesignSpark web site.

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
billmarshall
Date:
Thu Dec 16 10:57:40 2010 +0000
Commit message:

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r b3c216fa9a09 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Dec 16 10:57:40 2010 +0000
@@ -0,0 +1,18 @@
+// EDP & mbed Hello World Program  WGM 2010
+// Requires EDP-AM-CO1 communications module with PC COM port connection
+
+#include "mbed.h"
+
+Serial ASC0(p28, p27);              // Set up EDP ASC0 (default: 9600,8,N,1)
+DigitalOut L1(LED1);
+
+int main() {
+    ASC0.printf("\nHello World\n"); // Print on EDP ASC0 terminal
+
+    while(1) {                      // Flash User LED 1
+        L1 = 1;
+        wait(0.5);
+        L1 = 0;
+        wait(0.5);
+    }
+}
diff -r 000000000000 -r b3c216fa9a09 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Dec 16 10:57:40 2010 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e