projectwerk

Dependencies:   NeoPixelString SimplyLog

Fork of NeoPixelI2cSlave by Nico De Witte

Revision:
0:3a31c84ed525
diff -r 000000000000 -r 3a31c84ed525 i2c_device.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/i2c_device.h	Sun Oct 25 11:25:11 2015 +0000
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <mbed.h>
+
+struct I2cSettings {
+  int address;
+  int frequency;
+  int buffer;
+};
+
+class I2cDevice : public I2CSlave {
+    private:
+        I2cSettings* settings;
+    
+    public:
+        I2cDevice(PinName sda, PinName scl, I2cSettings* settings);
+};
\ No newline at end of file