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
Diff: pat9125_mbed/pat9125_i2c.cpp
- Revision:
- 0:411244c71423
diff -r 000000000000 -r 411244c71423 pat9125_mbed/pat9125_i2c.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pat9125_mbed/pat9125_i2c.cpp Tue Oct 03 07:26:38 2017 +0000
@@ -0,0 +1,20 @@
+#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 ;
+}
\ No newline at end of file
PAT9125EL - Miniature Optical Navigation for Surface Tracking