<commit_before>
unsigned long t=0; 
unsigned long tpump=0;
unsigned long tair=0;
int airstatus=0;
int pumpstatus=0;
//pins
const int Pump = 8;
const int Air = 7;
//Edit these times below to change factors
unsigned long PumpInterval= 60000 *360;//How often in min
unsigned long AirInterval= 60000 *15;//How often in min
unsigned long PumpRunTime = 60000 *.5;//How Long in min
unsigned long AirRunTime = 60000 *1;//How Long in min

void setup() {
pinMode(Pump, OUTPUT);
pinMode(Air, OUTPUT);
//convert to milli sec
/*PumpInterval = 60000 * PumpInterval;
AirInterval = 60000 * AirInterval;
PumpRunTime = 60000 * PumpRunTime;
AirRunTime = 60000 * AirRunTime;*/
tair = AirInterval;
tpump = PumpInterval;
}
void AirFunction(int s){
  if (s==1 && pumpstatus==0){
    digitalWrite(Air, HIGH);
    airstatus = 1;
    tair =t;
  }
  else if (s ==0){
    digitalWrite(Air, LOW);
    airstatus =0;
  }
}
void PumpFunction(int s){<commit_msg>Update AWSCPumpTiming.ino<commit_after>
unsigned long t=0; 
unsigned long tpump=0;
unsigned long tair=0;
int airstatus=0;
int pumpstatus=0;
//pins
const int Pump = 8;
const int Air = 7;
//Edit these times below to change factors
unsigned long PumpInterval= 60000 *240;//How often in min
unsigned long AirInterval= 60000 *15;//How often in min
unsigned long PumpRunTime = 60000 *.3;//How Long in min
unsigned long AirRunTime = 60000 *1;//How Long in min

void setup() {
pinMode(Pump, OUTPUT);
pinMode(Air, OUTPUT);
//convert to milli sec
/*PumpInterval = 60000 * PumpInterval;
AirInterval = 60000 * AirInterval;
PumpRunTime = 60000 * PumpRunTime;
AirRunTime = 60000 * AirRunTime;*/
tair = AirInterval;
tpump = PumpInterval;
}
void AirFunction(int s){
  if (s==1 && pumpstatus==0){
    digitalWrite(Air, HIGH);
    airstatus = 1;
    tair =t;
  }
  else if (s ==0){
    digitalWrite(Air, LOW);
    airstatus =0;
  }
}
void PumpFunction(int s){
{'fraction_non_alphanumeric': 0.1213903743315508, 'fraction_numerical': 0.06310160427807486, 'mean_word_length': 4.211699164345404, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3201427', 'n_tokens_mistral': 752, 'n_tokens_neox': 656, 'n_words': 222}