<commit_before>/**
 * Example libpidee app which flashes the pidee LEDS
 */

#include <stdbool.h>
#include "../src/pidee.h"

// Sequence position
int frame = 0;

int main() {

    wiringPiSetupSys(); // Needs to be called 

    pidee_feature_setup( &pidee_feature_led_red );
    pidee_feature_setup( &pidee_feature_led_green );
    pidee_feature_setup( &pidee_feature_led_yellow );

    for (;;)
    {
        frame++;
        if ( frame > 3 ) { 
            frame = 0;
        };

        pidee_feature_write( &pidee_feature_led_yellow, frame == 0 ? 1 : 0 );
        pidee_feature_write( &pidee_feature_led_red, frame == 1 ? 1 : 0 );
        pidee_feature_write( &pidee_feature_led_green, frame == 2 ? 1 : 0 );

        delay( 500 );
    }

    return 0;
}<commit_msg>Removed redundant include<commit_after>/**
 * Example libpidee app which flashes the pidee LEDS
 */

#include "../src/pidee.h"

// Sequence position
int frame = 0;

int main() {

    wiringPiSetupSys(); // Needs to be called 

    pidee_feature_setup( &pidee_feature_led_red );
    pidee_feature_setup( &pidee_feature_led_green );
    pidee_feature_setup( &pidee_feature_led_yellow );

    for (;;)
    {
        frame++;
        if ( frame > 3 ) { 
            frame = 0;
        };

        pidee_feature_write( &pidee_feature_led_yellow, frame == 0 ? 1 : 0 );
        pidee_feature_write( &pidee_feature_led_red, frame == 1 ? 1 : 0 );
        pidee_feature_write( &pidee_feature_led_green, frame == 2 ? 1 : 0 );

        delay( 500 );
    }

    return 0;
}
{'fraction_non_alphanumeric': 0.12034009156311315, 'fraction_numerical': 0.020928711576193592, 'mean_word_length': 2.5416666666666665, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, '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': '7181647', 'n_tokens_mistral': 608, 'n_tokens_neox': 548, 'n_words': 120}