JVM test

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
chris
Date:
Thu Oct 11 14:08:32 2012 +0000
Child:
1:eabc6f5b51d6
Commit message:
First revision

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-KL25Z.lib Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Oct 11 14:08:32 2012 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+
+BusOut rgb(LED_RED,LED_GREEN,LED_BLUE);
+
+int main() {
+    int i=0;   
+    while(1) {
+        rgb=i;
+        wait (0.25);
+        i++;            
+     }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-KL25Z.lib	Thu Oct 11 14:08:32 2012 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/emilmont/code/mbed-KL25Z/#2fd6de8f897c