Try next sketch... red led is on if is a danger situation, green led is on of gas is ok, blue led is on of carbon monoxide is ok.. gas sensor is at A0 pin & carbon monoxide is at pin A1 pin...
niq_ro:
Try next sketch... red led is on if is a danger situation, green led is on of gas is ok, blue led is on of carbon monoxide is ok.. gas sensor is at A0 pin & carbon monoxide is at pin A1 pin...
not work
connect the pin A1
blocks the effects of the sensor at A0
that is, the buzzer does not work
red LED is not lit
blue LED is lit continuously
after signal on A1
buzzer gives a signal
blue LED is lit continuously