Simplest of programs to print a number to the dispBoB
Dependencies: dispBoB mbed PCA9635
Revision 0:bd428966f029, committed 2011-07-11
- Comitter:
- d_worrall
- Date:
- Mon Jul 11 14:07:42 2011 +0000
- Child:
- 1:6af9f50cb98f
- Commit message:
- version1
Changed in this revision
--- /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