Please help me out with this code. I have installed various libraries yet I am not getting a solution for it. What should I do?
#include <MQ135.h>
void setup() {
// Initialize the serial port
Serial.begin(9600);
// Create a new MQ135 object
MQ135 sensor;
}
void loop() {
// Read the sensor value
float value = sensor.read();
// Print the sensor value to the serial port
Serial.println(value);
}
Error shown :
Multiple libraries were found for "MQ135.h"
Used: C:\Users\HP\Documents\Arduino\libraries\MQ135
Not used: C:\Users\HP\Documents\Arduino\libraries\MQ135-master
exit status 1
Compilation error: no matching function for call to 'MQ135::MQ135()'