RaheeNew

Dependencies:   mbed

Dependents:   RaheeNew

Fork of Adafruit9-DOf by Bruno Manganelli

Source/I2C_base.cpp

Committer:
jatinsha
Date:
2015-11-28
Revision:
1:c3381056a1c6
Parent:
0:772bf4786416

File content as of revision 1:c3381056a1c6:

#include "I2C_base.h"

#ifdef _MBED_

//setup the right i2c class
I2C_base* i2c = new I2C_MBED(SDA, SCL);

//setup millis function
Timer p_t;
int millis()
{
    return p_t.read_ms();
}


#endif //_MBED_