<commit_before><commit_msg>Basic sanity check using the serial monitor<commit_after>String inputString = "";
bool recMessage = false;

void setup() {
  Serial.begin(9600);

  //wait for some serial connection
   while (!Serial);
   Serial.println("--- Serial Connection Established ---");
}

void loop() {
  //consume everything in the serial buffer
  while (Serial.available())
  {    
    char inChar = Serial.read();
    if (inChar != '~'){
        inputString += inChar;
    }
    else{
        recMessage = true;
    } 
  }
  
  if (recMessage){
      Serial.print("Arduino received: ");
      Serial.println(inputString);
      inputString = "";
      recMessage = false;
  }  
}


{'fraction_non_alphanumeric': 0.13537117903930132, 'fraction_numerical': 0.005822416302765648, 'mean_word_length': 2.6595744680851063, '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': '3313826', 'n_tokens_mistral': 212, 'n_tokens_neox': 203, 'n_words': 53}