![](/media/cache/profiles/f16cb71ca1813353fcef2c86431621a7.jpg.50x50_q85.png)
MagTrix Class
MagTrix.h
- Committer:
- el15mh
- Date:
- 2018-03-01
- Revision:
- 0:fb19c8f7ca8d
File content as of revision 0:fb19c8f7ca8d:
#ifndef MAGTRIX_H #define MAGTRIX_H #include "mbed.h" #include "MLX90393.h" class MagTrix { public: MagTrix(I2C * i2c); void init(char * receiveBuffer); void read(char device, char * receiveBuffer, uint16_t * dataBuffer); private: I2C * _i2c; MLX90393 _device1; MLX90393 _device2; MLX90393 _device3; MLX90393 _device4; }; #endif /* MAGTRIX_H */