<commit_before>/**
 * Copyright (c) 2016, <NAME> <<EMAIL>>
 * ATtiny13/011
 * Nonblocking infrared receiver (38kHz, TSOPxxx) and NEC protocol decoder.
 */

#include <avr/io.h>
#include <util/delay.h>
#include <avr/interrupt.h>

#define	LED1_PIN		PB0
#define	LED2_PIN		PB2
#define	LED3_PIN		PB3
#define	LED4_PIN		PB4

#define	IR_IN_PIN		PB1
#define	IR_IN_PORT		PORTB
#define	IR_OCR0A		(122)

#define	LOW			(0)
#define	HIGH			(1)

#define	IR_SUCCESS		(0)
#define	IR_ERROR		(1)

#define	IR_EVENT_IDLE		(0)
#define	IR_EVENT_INIT		(1)
#define	IR_EVENT_FINI		(2)
#define	IR_EVENT_PROC		(3)

#define	IR_PROTO_EVENT_INIT	(0)
#define	IR_PROTO_EVENT_DATA	(1)
#define	IR_PROTO_EVENT_FINI	(2)
#define	IR_PROTO_EVENT_HOOK	(3)<commit_msg>Updated introduction comment of the source file<commit_after>/**
 * Copyright (c) 2016, <NAME> <<EMAIL>>
 * ATtiny13/011
 * Control LEDs with IR remote control. Example of monblocking IR signal reader (38kHz, TSOPxxx) and NEC protocol decoder.
 */

#include <avr/io.h>
#include <util/delay.h>
#include <avr/interrupt.h>

#define	LED1_PIN		PB0
#define	LED2_PIN		PB2
#define	LED3_PIN		PB3
#define	LED4_PIN		PB4

#define	IR_IN_PIN		PB1
#define	IR_IN_PORT		PORTB
#define	IR_OCR0A		(122)

#define	LOW			(0)
#define	HIGH			(1)

#define	IR_SUCCESS		(0)
#define	IR_ERROR		(1)

#define	IR_EVENT_IDLE		(0)
#define	IR_EVENT_INIT		(1)
#define	IR_EVENT_FINI		(2)
#define	IR_EVENT_PROC		(3)

#define	IR_PROTO_EVENT_INIT	(0)
#define	IR_PROTO_EVENT_DATA	(1)
#define	IR_PROTO_EVENT_FINI	(2)
#define	IR_PROTO_EVENT_HOOK	(3)
{'fraction_non_alphanumeric': 0.1118378024852845, 'fraction_numerical': 0.04708960104643558, 'mean_word_length': 4.953307392996109, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '3520073', 'n_tokens_mistral': 742, 'n_tokens_neox': 709, 'n_words': 172}