<commit_before>#include <color.h>

// these are the pins connected to
// the RGB LEDs
int leds[] = {5,6,9}; 
Color cur_color = Color(1,1,1);
float hue = 0;

// run once, when the sketch starts
void setup()                    
{
  for(int i = 0 ; i < 3; i++ ){
    pinMode(leds[i], OUTPUT); 
  }
}

// run over and over again
void loop()                   
{
  display_color(cur_color);
  rainbow();
}

void rainbow(){
  hue += 0.06;
  if ( hue >=1 ) hue = 0;
  sat = 1.0;<commit_msg>Updated example<commit_after>/* LucidTronix HSB RGB Color Library
 * For instructions, details and schematic, See:
 * http://www.lucidtronix.com/tutorials/19
 */

#include <Color.h>

// these are the pins connected to the RGB LEDs
int leds[] = {5,6,9}; 
Color cur_color = Color(1,1,1);
float hue = 0;

// run once, when the sketch starts
void setup()                    
{
  for(int i = 0 ; i < 3; i++ ){
    pinMode(leds[i], OUTPUT); 
  }
}

// run over and over again
void loop()                   
{
  display_color(cur_color);
  rainbow();
}

void rainbow(){
  hue += 0.06;
  if ( hue >=1 ) hue = 0;
  sat = 1.0;
{'fraction_non_alphanumeric': 0.15468607825295724, 'fraction_numerical': 0.030937215650591446, 'mean_word_length': 2.363914373088685, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '3306750', 'n_tokens_mistral': 444, 'n_tokens_neox': 402, 'n_words': 125}