Display

Dependencies:   Convert SLCD mbed

Files at this revision

API Documentation at this revision

Comitter:
jhaugen
Date:
Thu Dec 11 01:44:12 2014 +0000
Commit message:
Init

Changed in this revision

Convert.lib Show annotated file Show diff for this revision Revisions of this file
SLCD.lib Show annotated file Show diff for this revision Revisions of this file
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 4613ca3d36db Convert.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Convert.lib	Thu Dec 11 01:44:12 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/Waldek/code/Convert/#4c6a9e109cd0
diff -r 000000000000 -r 4613ca3d36db SLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SLCD.lib	Thu Dec 11 01:44:12 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/Sissors/code/SLCD/#ef2b3b7f1b01
diff -r 000000000000 -r 4613ca3d36db main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Dec 11 01:44:12 2014 +0000
@@ -0,0 +1,23 @@
+#include "mbed.h"
+#include "convert.h"
+
+PwmOut r(LED_RED);
+PwmOut g(LED_GREEN);
+
+int main()
+{
+    r.period(0.001f);
+    g.period(0.001f);
+    Convert lcd;
+    lcd.display(9999);
+
+    while (true) {
+        
+        /*for (float i = 0.0f; i < 1.0f ; i += 0.001f) {
+            float p = 3 * i;
+            r = 1.0f - ((p < 1.0f) ? 1.0f - p : (p > 2.0f) ? p - 2.0f : 0.0f);
+            g = 1.0f - ((p < 1.0f) ? p : (p > 2.0f) ? 0.0f : 2.0f - p);
+            wait (0.0025f);
+        }*/
+    }
+}
diff -r 000000000000 -r 4613ca3d36db mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Dec 11 01:44:12 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/4fc01daae5a5
\ No newline at end of file