projectwerk
Dependencies: NeoPixelString SimplyLog
Fork of NeoPixelI2cSlave by
i2c_device.h
- Committer:
- BramHeldenbergh
- Date:
- 2016-01-09
- Revision:
- 3:02931c2b1e82
- Parent:
- 0:3a31c84ed525
File content as of revision 3:02931c2b1e82:
#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); };