<commit_before>/*
  Dimmer

  Demonstrates sending data from the computer to the Maple, in this
  case to control the brightness of an LED.  The data is sent in
  individual bytes, each of which ranges from 0 to 255.  Maple reads
  these bytes and uses them to set the brightness of the LED.

  The circuit:
  LED connected to pin 9.
  Serial connection to Processing, Max/MSP, or another serial application.

  created 2006
  by <NAME>
  modified 14 Apr 2009
  by <NAME> and <NAME>

  http://www.arduino.cc/en/Tutorial/Dimmer
  http://leaflabs.com/docs/lang/api/pwmwrite.html

  Ported to the Maple 28 May 2010
*/

int ledPin = 9;

void setup() {
    // Declare ledPin as an OUTPUT:
    pinMode(ledPin, OUTPUT);<commit_msg>Fix Dimmer example.<commit_after>/*
  Dimmer

  Demonstrates sending data from the computer to the Maple, in this
  case to control the brightness of an LED.  The data is sent in
  individual bytes, each of which ranges from 0 to 255.  Maple reads
  these bytes and uses them to set the brightness of the LED.

  The circuit:
  LED connected to pin 9.
  Serial connection to Processing, Max/MSP, or another serial application.

  created 2006
  by <NAME>
  modified 14 Apr 2009
  by <NAME> and <NAME>

  http://www.arduino.cc/en/Tutorial/Dimmer
  http://leaflabs.com/docs/lang/api/pwmwrite.html

  Ported to the Maple 28 May 2010
*/

int ledPin = 9;

void setup() {
    // Declare ledPin in PWM mode:
    pinMode(ledPin, PWM);
{'fraction_non_alphanumeric': 0.07379310344827586, 'fraction_numerical': 0.030344827586206897, 'mean_word_length': 3.122159090909091, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6435104', 'n_tokens_mistral': 522, 'n_tokens_neox': 453, 'n_words': 199}