Team_temp / VT2_domc_copy

Dependencies:   mbed-dev

Fork of Adafruit9-DOf_AHRS_Regler_Discrete by RT-Labor IMS

Source/I2C_base.cpp

Committer:
domanpie
Date:
2017-10-19
Revision:
1:8c4f93e10af3
Parent:
0:772bf4786416

File content as of revision 1:8c4f93e10af3:

#include "I2C_base.h"

#ifdef _MBED_

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

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


#endif //_MBED_