<commit_before>#include <FastLED.h>

#include "FastLEDProvider.h"
#include "NightwingRegular.h"
#include "Pattern.h"
#include "PatternController.h"
#include "RainbowCycle.h"
#include "TheaterChase.h"

using Controller = PatternController<3, 75, 0>;

class CyclePatterns : public IOnComplete
{
public:
  void OnComplete(IPatternController *ctrl) override {
  	ctrl->nextPattern();
  }
};

PatternPtr patterns[] = {
	new NightwingRegular(5, CRGB::Blue, CRGB::White),
	new TheaterChase(CRGB::Blue, CRGB::Gold),
	new RainbowCycle()
};

FastLEDProvider<8> leds = {&(FastLED.addLeds<NEOPIXEL, (int)6>)};
Controller controller = Controller { &leds, patterns, new CyclePatterns() };

void setup()
{
	leds.Blackout();
	Serial.begin(115200);
}

void loop()
{
	controller.update();
}<commit_msg>Tweaking a bit of stuff<commit_after>#include <FastLED.h>

#include "FastLEDProvider.h"
#include "NightwingRegular.h"
#include "Pattern.h"
#include "PatternController.h"
#include "RainbowCycle.h"
#include "TheaterChase.h"

using Controller = PatternController<4, 75, 0>;

class CyclePatterns : public IOnComplete
{
public:
  void OnComplete(IPatternController *ctrl) override {
  	ctrl->nextPattern();
  }
};

PatternPtr patterns[] = {
	new NightwingRegular(1, CRGB::Blue, CRGB::Yellow),
	new NightwingRegular(2, CRGB::Red, CRGB::Cyan),
	new TheaterChase(CRGB::Blue, CRGB::Gold),
	new RainbowCycle()
};

FastLEDProvider<16> leds = {&(FastLED.addLeds<NEOPIXEL, (int)6>)};
Controller controller = Controller { &leds, patterns
	, new CyclePatterns()
};

void setup()
{
	leds.Blackout();
	Serial.begin(115200);
}

void loop()
{
	controller.update();
}
{'fraction_non_alphanumeric': 0.15389331698344574, 'fraction_numerical': 0.017167381974248927, 'mean_word_length': 6.285714285714286, 'pattern_counts': {'":': 0, '<': 11, '<?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': '4161128', 'n_tokens_mistral': 617, 'n_tokens_neox': 587, 'n_words': 124}