RaheeNew

Dependencies:   mbed

Dependents:   RaheeNew

Fork of Adafruit9-DOf by Bruno Manganelli

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers I2C_base.cpp Source File

I2C_base.cpp

00001 #include "I2C_base.h"
00002 
00003 #ifdef _MBED_
00004 
00005 //setup the right i2c class
00006 I2C_base* i2c = new I2C_MBED(SDA, SCL);
00007 
00008 //setup millis function
00009 Timer p_t;
00010 int millis()
00011 {
00012     return p_t.read_ms();
00013 }
00014 
00015 
00016 #endif //_MBED_