<commit_before>#ifndef BOARDDEFSOPENDECK_H_
#define BOARDDEFSOPENDECK_H_

#include "PinManipulation.h"

#include <avr/cpufunc.h>

#define BOARD_OPENDECK_1

//uncomment if leds use reverse logic for setting on/off state
#define LED_INVERT

#define NUMBER_OF_MUX               2
#define NUMBER_OF_MUX_INPUTS        16

#define NUMBER_OF_LED_COLUMNS       8
#define NUMBER_OF_LED_ROWS          6

#define NUMBER_OF_BUTTON_COLUMNS    8
#define NUMBER_OF_BUTTON_ROWS       8

#define MAX_NUMBER_OF_ANALOG        (NUMBER_OF_MUX*NUMBER_OF_MUX_INPUTS)
#define MAX_NUMBER_OF_BUTTONS       (NUMBER_OF_BUTTON_COLUMNS*NUMBER_OF_BUTTON_ROWS)
#define MAX_NUMBER_OF_LEDS          (NUMBER_OF_LED_COLUMNS*NUMBER_OF_LED_ROWS)
#define MAX_NUMBER_OF_ENCODERS      (MAX_NUMBER_OF_BUTTONS/2)

#define SR_DIN_DDR                  DDRD
#define SR_DIN_PIN_REGISTER         PIND
#define SR_DIN_PORT                 PORTD
#define SR_DIN_PIN                  5

#define SR_CLK_DDR                  DDRD
#define SR_CLK_PORT                 PORTD
#define SR_CLK_PIN                  0

#define SR_LATCH_DDR                DDRD
#define SR_LATCH_PORT               PORTD
#define SR_LATCH_PIN                1<commit_msg>add max number of rgb leds constant<commit_after>#ifndef BOARDDEFSOPENDECK_H_
#define BOARDDEFSOPENDECK_H_

#include "PinManipulation.h"

#include <avr/cpufunc.h>

#define BOARD_OPENDECK_1

//uncomment if leds use reverse logic for setting on/off state
#define LED_INVERT

#define NUMBER_OF_MUX               2
#define NUMBER_OF_MUX_INPUTS        16

#define NUMBER_OF_LED_COLUMNS       8
#define NUMBER_OF_LED_ROWS          6

#define NUMBER_OF_BUTTON_COLUMNS    8
#define NUMBER_OF_BUTTON_ROWS       8

#define MAX_NUMBER_OF_ANALOG        (NUMBER_OF_MUX*NUMBER_OF_MUX_INPUTS)
#define MAX_NUMBER_OF_BUTTONS       (NUMBER_OF_BUTTON_COLUMNS*NUMBER_OF_BUTTON_ROWS)
#define MAX_NUMBER_OF_LEDS          (NUMBER_OF_LED_COLUMNS*NUMBER_OF_LED_ROWS)
#define MAX_NUMBER_OF_RGB_LEDS      (MAX_NUMBER_OF_LEDS/3)
#define MAX_NUMBER_OF_ENCODERS      (MAX_NUMBER_OF_BUTTONS/2)

#define SR_DIN_DDR                  DDRD
#define SR_DIN_PIN_REGISTER         PIND
#define SR_DIN_PORT                 PORTD
#define SR_DIN_PIN                  5

#define SR_CLK_DDR                  DDRD
#define SR_CLK_PORT                 PORTD
#define SR_CLK_PIN                  0

#define SR_LATCH_DDR                DDRD
#define SR_LATCH_PORT               PORTD
#define SR_LATCH_PIN                1
{'fraction_non_alphanumeric': 0.04314204314204314, 'fraction_numerical': 0.010175010175010175, 'mean_word_length': 2.712990936555891, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6255194', 'n_tokens_mistral': 923, 'n_tokens_neox': 901, 'n_words': 172}