<commit_before>/*
  Analog Input

  Demonstrates analog input by reading an analog sensor on analog pin
  0 and turning on and off the Maple's built-in light emitting diode
  (LED).  The amount of time the LED will be on and off depends on the
  value obtained by analogRead().

  Created by <NAME>
  Modified 16 Jun 2009
  By <NAME>

  http://leaflabs.com/docs/adc.html
  http://arduino.cc/en/Tutorial/AnalogInput

  Ported to Maple 27 May, 2010 by <NAME>
*/

int sensorPin = 0;   // Select the input pin for the potentiometer
int sensorValue = 0; // Variable to store the value coming from the sensor

void setup() {
  // Declare the sensorPin as INPUT_ANALOG:
  pinMode(sensorPin, INPUT_ANALOG);
  // Declare the LED's pin as an OUTPUT.  (BOARD_LED_PIN is a built-in
  // constant which is the pin number of the built-in LED.  On the
  // Maple, it is 13.)
  pinMode(BOARD_LED_PIN, OUTPUT);
}

void loop() {
  // Read the value from the sensor:
  sensorValue = analogRead(sensorPin);
  // Turn the LED pin on:
  digitalWrite(BOARD_LED_PIN, HIGH);
  // Stop the program for <sensorValue> milliseconds:
  delay(sensorValue);
  // Turn the LED pin off:
  digitalWrite(BOARD_LED_PIN, LOW);
  // Stop the program for for <sensorValue> milliseconds:
  delay(sensorValue);
}<commit_msg>Examples: Trivial AnalogInput whitespace tweak.<commit_after>/*
  Analog Input

  Demonstrates analog input by reading an analog sensor on analog pin
  0 and turning on and off the Maple's built-in light emitting diode
  (LED).  The amount of time the LED will be on and off depends on the
  value obtained by analogRead().

  Created by <NAME>
  Modified 16 Jun 2009
  By <NAME>

  http://leaflabs.com/docs/adc.html

  Ported to Maple 27 May 2010
  by <NAME>
*/

int sensorPin = 0;   // Select the input pin for the potentiometer
int sensorValue = 0; // Variable to store the value coming from the sensor

void setup() {
    // Declare the sensorPin as INPUT_ANALOG:
    pinMode(sensorPin, INPUT_ANALOG);
    // Declare the LED's pin as an OUTPUT.  (BOARD_LED_PIN is a built-in
    // constant which is the pin number of the built-in LED.  On the
    // Maple, it is 13.)
    pinMode(BOARD_LED_PIN, OUTPUT);
}

void loop() {
    // Read the value from the sensor:
    sensorValue = analogRead(sensorPin);
    // Turn the LED pin on:
    digitalWrite(BOARD_LED_PIN, HIGH);
    // Stop the program for <sensorValue> milliseconds:
    delay(sensorValue);
    // Turn the LED pin off:
    digitalWrite(BOARD_LED_PIN, LOW);
    // Stop the program for for <sensorValue> milliseconds:
    delay(sensorValue);
}
{'fraction_non_alphanumeric': 0.08658678005411674, 'fraction_numerical': 0.013142636258214147, 'mean_word_length': 3.2218597063621535, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '5709583', 'n_tokens_mistral': 874, 'n_tokens_neox': 800, 'n_words': 329}