<commit_before>#include <Arduino.h>

void setup() {
    pinMode(13, OUTPUT);
}

void loop() {
    digitalWrite(13, HIGH);
    delay(1000);
    digitalWrite(13, LOW);
    delay(1000);
}
<commit_msg>Basic h brigde control for motor<commit_after>#include <Arduino.h>

#define LED_PIN 13
#define IN1_PIN 3
#define IN2_PIN 5
#define IN3_PIN 6
#define IN4_PIN 9

void setup() {
  pinMode(LED_PIN,OUTPUT);
  pinMode(IN1_PIN,OUTPUT);
  pinMode(IN2_PIN,OUTPUT);
  pinMode(IN3_PIN,OUTPUT);
  pinMode(IN4_PIN,OUTPUT);
}

void loop() {

  digitalWrite(LED_PIN,HIGH);
  digitalWrite(IN1_PIN,HIGH);
  for(int i = 0; i < 256; i++){
    analogWrite(IN2_PIN,i);
    delay(10);
  }

  digitalWrite(LED_PIN,HIGH);
  digitalWrite(IN2_PIN,HIGH);
  for(int i = 0; i < 256; i++){
    analogWrite(IN1_PIN,i);
    delay(10);
  }

  digitalWrite(LED_PIN,HIGH);
  digitalWrite(IN3_PIN,HIGH);
  for(int i = 0; i < 256; i++){
    analogWrite(IN4_PIN,i);
    delay(10);
  }

  digitalWrite(LED_PIN,HIGH);
  digitalWrite(IN4_PIN,HIGH);
  for(int i = 0; i < 256; i++){
    analogWrite(IN3_PIN,i);
    delay(10);
  }
}

{'fraction_non_alphanumeric': 0.15930018416206262, 'fraction_numerical': 0.055248618784530384, 'mean_word_length': 4.151658767772512, 'pattern_counts': {'":': 0, '<': 9, '<?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': '7641022', 'n_tokens_mistral': 491, 'n_tokens_neox': 461, 'n_words': 85}