x
I2CList.h
- Committer:
- JackB
- Date:
- 2018-07-23
- Revision:
- 0:a13a2f61b5f1
File content as of revision 0:a13a2f61b5f1:
#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