projectwerk

Dependencies:   NeoPixelString SimplyLog

Fork of NeoPixelI2cSlave by Nico De Witte

Committer:
dwini
Date:
Sun Oct 25 11:25:11 2015 +0000
Revision:
0:3a31c84ed525
Start of NeoPixel I2c Slave library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dwini 0:3a31c84ed525 1 #include "i2c_device.h"
dwini 0:3a31c84ed525 2
dwini 0:3a31c84ed525 3 I2cDevice::I2cDevice(PinName sda, PinName scl, I2cSettings* settings) : I2CSlave(sda, scl){
dwini 0:3a31c84ed525 4 this->settings = settings;
dwini 0:3a31c84ed525 5 this->frequency(settings->frequency);
dwini 0:3a31c84ed525 6 this->address(settings->address);
dwini 0:3a31c84ed525 7 }