<commit_before>#include "contiki.h"
#include <stdio.h>

PROCESS(hello_world_process, "Hello world process");
AUTOSTART_PROCESSES(&hello_world_process);

PROCESS_THREAD(hello_world_process, ev, data)
{
	PROCESS_BEGIN();

    printf("Hello, world!\n");

    //Enable all external interupts 
    // INT0 used for the button
    EIMSK = 0xff;
    //Enable listening to all interupts (on any edge)
    EICRA = 0xff;

	while(1)
  	{
  		PROCESS_WAIT_EVENT();
  	}

	PROCESS_END();
}

ISR(INT0_vect)
{
    printf("Hello, interrupt!\n");
}<commit_msg>Disabled interupt control of falling edge.<commit_after>#include "contiki.h"
#include <stdio.h>

PROCESS(hello_world_process, "Hello world process");
AUTOSTART_PROCESSES(&hello_world_process);

PROCESS_THREAD(hello_world_process, ev, data)
{
	PROCESS_BEGIN();

    printf("Hello, world!\n");

    //Enable all external interupts 
    // INT0 used for the button
    EIMSK = 0xff;
    //Enable listening to all interupts (on rising edge)
    EICRA = 0x03;

	while(1)
  	{
  		PROCESS_WAIT_EVENT();
  	}

	PROCESS_END();
}

ISR(INT0_vect)
{
    printf("Hello, interrupt!\n");
}
{'fraction_non_alphanumeric': 0.129695885509839, 'fraction_numerical': 0.01073345259391771, 'mean_word_length': 3.973333333333333, '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': '5594191', 'n_tokens_mistral': 431, 'n_tokens_neox': 408, 'n_words': 89}