<commit_before>#include <Timer.h>

void toggleLed(int ledPin)
{
  bool isLedOn = digitalRead(ledPin);
  digitalWrite(ledPin, !isLedOn);
}

const unsigned int  BLINK_TIME_MILLIS = 200;

class BlinkTimerAdapter : public TimerAdapter
{
public:
  void timeExpired()
  {
    toggleLed(LED_BUILTIN);
  }
};

// The setup function is called once at startup of the sketch
void setup()
{
  pinMode(LED_BUILTIN, OUTPUT);
  new Timer(new BlinkTimerAdapter(), Timer::IS_RECURRING, BLINK_TIME_MILLIS);
}

// The loop function is called in an endless loop
void loop()
{
  scheduleTimers();
}
  <commit_msg>replaced scheduleTimers() by yield() call in loop() function in the Examples/Blink_with_Timer.ino<commit_after>#include <Timer.h>

void toggleLed(int ledPin)
{
  bool isLedOn = digitalRead(ledPin);
  digitalWrite(ledPin, !isLedOn);
}

const unsigned int  BLINK_TIME_MILLIS = 200;

class BlinkTimerAdapter : public TimerAdapter
{
public:
  void timeExpired()
  {
    toggleLed(LED_BUILTIN);
  }
};

// The setup function is called once at startup of the sketch
void setup()
{
  pinMode(LED_BUILTIN, OUTPUT);
  new Timer(new BlinkTimerAdapter(), Timer::IS_RECURRING, BLINK_TIME_MILLIS);
}

// The loop function is called in an endless loop
void loop()
{
  yield();
}
  
{'fraction_non_alphanumeric': 0.10484511517077046, 'fraction_numerical': 0.004765687053216839, 'mean_word_length': 4.7534246575342465, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4984591', 'n_tokens_mistral': 463, 'n_tokens_neox': 449, 'n_words': 120}