![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Dependencies: SerialToI2C mbed
Diff: main.cpp
- Revision:
- 0:8d85dcffb6e8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Oct 14 06:10:01 2015 +0000 @@ -0,0 +1,12 @@ +#include "SerialToI2C.h" + +int main(){ + SerialToI2C::create( /* sda */dp5, /* scl */dp27, /* tx */dp16, /* rx */dp15 ); + + while ( true ){ + SerialToI2C::getInstance()->update(); + } + + return 0; +} +