Dear all,
I have been trying to make Grove Mutichannel Gas Sensor work with Feather MO without success. I have tried several libraries but I always get the same error: Error compiling for board Adafruit Feather MO. Could someone help me with this problem?
/Users /Documents/Arduino/libraries/Mutichannel_Gas_Sensor-master/MutichannelGasSensor.h:85:5: error: ‘uint8_t’ does not name a type
uint8_t i2cAddress; //I2C address of this MCU
^~~~~~~
/Users/antoniocesardeoliveira/Documents/Arduino/libraries/Mutichannel_Gas_Sensor-master/MutichannelGasSensor.h:86:5: error: ‘uint16_t’ does not name a type; did you mean ‘sin16’?
uint16_t res0[3]; //sensors res0
^~~~~~~~
sin16
/Users/antoniocesardeoliveira/Documents/Arduino/libraries/Mutichannel_Gas_Sensor-master/MutichannelGasSensor.h:87:5: error: ‘uint16_t’ does not name a type; did you mean ‘sin16’?
uint16_t res[3]; //sensors res
^~~~~~~~
sin16
/Users/antoniocesardeoliveira/Documents/Arduino/libraries/Mutichannel_Gas_Sensor-master/MutichannelGasSensor.h:96:5: error: ‘int16_t’ does not name a type; did you mean ‘char16_t’?
int16_t readData(uint8_t cmd);
^~~~~~~
char16_t
/Users/antoniocesardeoliveira/Documents/Arduino/libraries/Mutichannel_Gas_Sensor-master/MutichannelGasSensor.h:97:5: error: ‘int16_t’ does not name a type; did you mean ‘char16_t’?
int16_t readR0(void);
^~~~~~~
char16_t
/Users/antoniocesardeoliveira/Documents/Arduino/libraries/Mutichannel_Gas_Sensor-master/MutichannelGasSensor.h:98:5: error: ‘int16_t’ does not name a type; did you mean ‘char16_t’?
int16_t readR(void);
^~~~~~~
char16_t
/Users/antoniocesardeoliveira/Documents/Arduino/libraries/Mutichannel_Gas_Sensor-master/MutichannelGasSensor.h:105:24: error: ‘uint8_t’ has not been declared
void changeI2cAddr(uint8_t newAddr);
^~~~~~~
/Users/antoniocesardeoliveira/Documents/Arduino/libraries/Mutichannel_Gas_Sensor-master/MutichannelGasSensor.h: In member function ‘void MutichannelGasSensor::ledOn()’:
/Users/antoniocesardeoliveira/Documents/Arduino/libraries/Mutichannel_Gas_Sensor-master/MutichannelGasSensor.h:129:19: error: ‘i2cAddress’ was not declared in this scope
write_i2c(i2cAddress, dta_test, 2);
^~~~~~~~~~
/Users/antoniocesardeoliveira/Documents/Arduino/libraries/Mutichannel_Gas_Sensor-master/MutichannelGasSensor.h: In member function ‘void MutichannelGasSensor::ledOff()’:
/Users/antoniocesardeoliveira/Documents/Arduino/libraries/Mutichannel_Gas_Sensor-master/MutichannelGasSensor.h:136:19: error: ‘i2cAddress’ was not declared in this scope
write_i2c(i2cAddress, dta_test, 2);