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

Revision:
0:b3c216fa9a09
--- /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);
+    }
+}