if (gasLevel > highLevel) moveServoBack()
if (gasLevel < lowLevel) moveServoForth()
That's how you tell the Arduino to move a servo back and forth based on the gas level.
if (gasLevel > highLevel) moveServoBack()
if (gasLevel < lowLevel) moveServoForth()
That's how you tell the Arduino to move a servo back and forth based on the gas level.