Suga koubou
/
i2cleddisp_sample
Parallel to I2C for Intelligent LED Display module PD2435~7 / PD3535~7 / PD4435~7 (OSRAM)
Revision 0:bcb02f9c9ea0, committed 2010-10-21
- Comitter:
- okini3939
- Date:
- Thu Oct 21 11:51:26 2010 +0000
- Commit message:
Changed in this revision
diff -r 000000000000 -r bcb02f9c9ea0 I2CLEDDisp.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/I2CLEDDisp.lib Thu Oct 21 11:51:26 2010 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/okini3939/code/I2CLEDDisp/#eae10b76cd72
diff -r 000000000000 -r bcb02f9c9ea0 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Oct 21 11:51:26 2010 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" +#include "I2CLEDDisp.h" + +I2C i2c(p9, p10); +I2CLEDDisp leddisp(i2c); + +DigitalOut myled(LED1); + +int main() { + myled = 1; + leddisp.putc('1'); + leddisp.printf("aA@"); + myled = 0; + + for (;;); +}
diff -r 000000000000 -r bcb02f9c9ea0 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Oct 21 11:51:26 2010 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e