Dependencies:   SerialToI2C mbed

main.cpp

Committer:
inst
Date:
2015-10-14
Revision:
0:8d85dcffb6e8

File content as of revision 0:8d85dcffb6e8:

#include "SerialToI2C.h"

int main(){
    SerialToI2C::create( /* sda */dp5, /* scl */dp27, /* tx */dp16, /* rx */dp15 );
    
    while ( true ){
        SerialToI2C::getInstance()->update();
    }
    
    return 0;
}