<commit_before>#include <LowPower.h>
// https://github.com/rocketscream/Low-Power

int powerPin = 2;

void setup() {
  
  pinMode(powerPin, OUTPUT);
  digitalWrite(powerPin, LOW);    
}

void loop()
{
    togglePower();
    sleep30Minutes();
    togglePower();
    //sleep60Minutes();
    sleep30Minutes();
}

// USe 9 sec
void sleep60Minutes()
{
  for (int i = 0; i < 400; i++) { 
     LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF); 
  }
}


void sleep30Minutes()
{
  for (int i = 0; i < 200; i++) { 
     LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF); 
  }
}

void togglePower() {
  digitalWrite(powerPin, HIGH);  
  delay(100);              
  digitalWrite(powerPin, LOW);    
  delay(100);              
}<commit_msg>add delay<commit_after>#include <LowPower.h>
// https://github.com/rocketscream/Low-Power

int powerPin = 2;

void setup() {
  delay(500);
  pinMode(powerPin, OUTPUT);
  digitalWrite(powerPin, LOW);
  delay(500);
}

void loop()
{
    delay(500);
    togglePower();
    delay(500);
    sleep30Minutes();
    delay(500);
    togglePower();
    delay(500);
    sleep30Minutes();
    delay(500);
}

// USe 9 sec
void sleep60Minutes()
{
  for (int i = 0; i < 400; i++) { 
     LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF); 
  }
}


void sleep30Minutes()
{
  for (int i = 0; i < 200; i++) { 
     LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF); 
  }
}

void togglePower() {
  delay(100);              
  digitalWrite(powerPin, HIGH);  
  delay(100);              
  digitalWrite(powerPin, LOW);    
  delay(100);              
}
{'fraction_non_alphanumeric': 0.15578539107950873, 'fraction_numerical': 0.05042016806722689, 'mean_word_length': 2.7033492822966507, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '128284', 'n_tokens_mistral': 661, 'n_tokens_neox': 592, 'n_words': 116}