projectwerk
Dependencies: NeoPixelString SimplyLog
Fork of NeoPixelI2cSlave by
i2c_device.cpp
- Committer:
- dwini
- Date:
- 2015-10-25
- Revision:
- 0:3a31c84ed525
File content as of revision 0:3a31c84ed525:
#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); }