<commit_before><commit_msg>example of odometer usage<commit_after>#include <Smartcar_sensors.h>

Odometer encoder;
unsigned long startTime;
unsigned int timeOver = 20000; //20 seconds

void setup() {
  Serial.begin(9600);
  encoder.attach(19);
  encoder.begin();
  startTime = millis();
}

void loop() {
  
  if (millis()-startTime>timeOver){ //count until timeOver seconds and then detach the encoder
    encoder.detach();  
  }
  delay(200);
  Serial.println(encoder.getDistance());
}
{'fraction_non_alphanumeric': 0.13168724279835392, 'fraction_numerical': 0.03292181069958848, 'mean_word_length': 4.662790697674419, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, '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': '4126805', 'n_tokens_mistral': 176, 'n_tokens_neox': 157, 'n_words': 39}