Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-dev
Fork of Adafruit9-DOf_AHRS_Regler_Discrete by
Source/I2C_base.cpp
- Committer:
- bmanga95
- Date:
- 2015-03-21
- Revision:
- 0:772bf4786416
- Child:
- 1:8c4f93e10af3
File content as of revision 0:772bf4786416:
#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_
