Simplest of programs to print a number to the dispBoB

Dependencies:   dispBoB mbed PCA9635

Files at this revision

API Documentation at this revision

Comitter:
d_worrall
Date:
Mon Jul 11 14:07:42 2011 +0000
Child:
1:6af9f50cb98f
Commit message:
version1

Changed in this revision

PCA9635.lib Show annotated file Show diff for this revision Revisions of this file
dispBoB.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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PCA9635.lib	Mon Jul 11 14:07:42 2011 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/d_worrall/code/PCA9635/#16f968749855
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dispBoB.lib	Mon Jul 11 14:07:42 2011 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/d_worrall/code/dispBoB/#a9abac3696b0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Jul 11 14:07:42 2011 +0000
@@ -0,0 +1,10 @@
+#include "mbed.h"
+#include "dispBoB.h"
+
+dispBoB db(p28, p27, p26);
+
+int main() {
+    db.init();      //ALWAYS initialise screen
+    db.cls();       //clear screen
+    db.printf("%d%", 123456);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Jul 11 14:07:42 2011 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/63bcd7ba4912