projectwerk

Dependencies:   NeoPixelString SimplyLog

Fork of NeoPixelI2cSlave by Nico De Witte

Revision:
0:3a31c84ed525
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/i2c_device.cpp	Sun Oct 25 11:25:11 2015 +0000
@@ -0,0 +1,7 @@
+#include "i2c_device.h"
+
+I2cDevice::I2cDevice(PinName sda, PinName scl, I2cSettings* settings) : I2CSlave(sda, scl){
+    this->settings = settings;
+    this->frequency(settings->frequency);
+    this->address(settings->address);
+}
\ No newline at end of file