x
Diff: I2CList.h
- Revision:
- 0:a13a2f61b5f1
diff -r 000000000000 -r a13a2f61b5f1 I2CList.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/I2CList.h Mon Jul 23 12:24:48 2018 +0000 @@ -0,0 +1,22 @@ +#include "mbed.h" + +#ifndef __I2CLIST_H__ +#define __I2CLIST_H__ + +class I2CList { +public: +I2CList(PinName sda, PinName scl); +char * GetName(int address); +void List(void); + +private: +I2C i2c; +char data_write[3]; +char data_read[2]; +char i2c_name[32]; + +protected: + +}; + +#endif