<commit_before><commit_msg>Added Arduino code to control servo motors<commit_after>#include<Servo.h>

int servoPin=9;
int inputPin=8;
int angle=0;
Servo servo;
void setup() {
 servo.attach(servoPin);
 pinMode(inputPin, INPUT);
}

void loop() {
  if(digitalRead(inputPin)==HIGH)
  {
    for(angle=0;angle<=180;angle++)
    {
      servo.write(angle);
    }
    
  }
    else
   {
    for(angle=180;angle>=0;angle--)
    {
      servo.write(angle);
    }
    
  }

}
{'fraction_non_alphanumeric': 0.15732758620689655, 'fraction_numerical': 0.023706896551724137, 'mean_word_length': 3.1517857142857144, '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': '1582733', 'n_tokens_mistral': 193, 'n_tokens_neox': 183, 'n_words': 28}