<commit_before>/*
 * MIT License
 * Copyright (c) from 2017, <NAME>, github.com/michal037
 */

#include <stdio.h>
#include <wiringPi.h> /* Can be changed */
#include "st7735s.h"

int main(int argc, char *argv[])
{
    printf("BEGIN TEST!\n");

    /* Setup WiringPi */
    wiringPiSetup();

    /* Create display, set as active */
    st7735sType disp1 = st7735s.conf.createDisplay(15000000, 0, 5, -1);

        while(1)
        {
            st7735s.draw.fillScreen(0, 0, 0);
            st7735s.draw.fillScreen(255, 255, 255);
            st7735s.draw.fillScreen(255, 0, 0);
            st7735s.draw.fillScreen(0, 255, 0);
            st7735s.draw.fillScreen(0, 0, 255);
            st7735s.draw.fillScreen(255, 0, 255);
            st7735s.draw.fillScreen(255, 255, 0);
            st7735s.draw.fillScreen(0, 255, 255);
        }

    /* Destroy active display */
    st7735s.conf.destroyActiveDisplay();

    printf("END TEST!\n");

    return 0;
} /* main */
<commit_msg>It works but not everything is finished<commit_after>/*
 * MIT License
 * Copyright (c) from 2017, <NAME>, github.com/michal037
 */

#include <stdio.h>
#include <wiringPi.h> /* Can be changed */
#include "st7735s.h"

int main(int argc, char *argv[])
{
    printf("BEGIN TEST!\n");

    /* Setup WiringPi */
    wiringPiSetup();

    /* Create display and set as active */
    st7735sType disp1 = st7735s.conf.createDisplay(15000000, 0, 5, -1);

    /* Draw 8 colours */
    st7735s.draw.fillScreen(255, 0, 0); /* Red */
    st7735s.draw.fillScreen(0, 255, 0); /* Green */
    st7735s.draw.fillScreen(0, 0, 255); /* Blue */
    st7735s.draw.fillScreen(255, 255, 0); /* Yellow */
    st7735s.draw.fillScreen(0, 255, 255); /* Cyan */
    st7735s.draw.fillScreen(255, 0, 255); /* Magenta */
    st7735s.draw.fillScreen(255, 255, 255); /* White */
    st7735s.draw.fillScreen(0, 0, 0); /* Black */

    /* Destroy active display */
    st7735s.conf.destroyActiveDisplay();

    printf("END TEST!\n");

    return 0;
} /* main */

{'fraction_non_alphanumeric': 0.16055930568948892, 'fraction_numerical': 0.1128254580520733, 'mean_word_length': 2.2523510971786833, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '1847345', 'n_tokens_mistral': 919, 'n_tokens_neox': 726, 'n_words': 163}