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
pat9125_mbed/pat9125_i2c.cpp
- Committer:
- pixus_mbed
- Date:
- 2017-10-18
- Branch:
- Branch_nRF51
- Revision:
- 4:1cd61816c013
- Parent:
- 0:411244c71423
File content as of revision 4:1cd61816c013:
#include "pat9125_i2c.h" static pat9125_i2c *_self ; static PinName _sda ; static PinName _scl ; pat9125_i2c::pat9125_i2c(PinName sda, PinName scl) : I2C(sda, scl) { _self = this ; _sda = sda , _scl = scl ; } pat9125_i2c* pat9125_i2c::reset() { delete _self ; _self = new pat9125_i2c(_sda, _scl); return _self ; }