Change MQ131 logic to take care of its own timing and looping counts