Elisa3
e_remote_control.c File Reference
#include "e_remote_control.h"
#include "leds.h"

Functions

void e_init_remote_control (void)
 Initialise the IR receiver ports.
 ISR (PCINT1_vect)
 ISR (TIMER2_COMPA_vect)
unsigned char e_get_check (void)
 Read the check bit.
unsigned char e_get_address (void)
 Read the adress of the commande.
unsigned char e_get_data (void)
 Read the data of the command.

Variables

unsigned char address = 0
unsigned char data_ir = 0
unsigned char check = 2

Function Documentation

unsigned char e_get_address ( void  )

Read the adress of the commande.

Returns:
adress adress part of the signal
unsigned char e_get_check ( void  )

Read the check bit.

Returns:
check check bit of the signal
unsigned char e_get_data ( void  )

Read the data of the command.

Returns:
data data part of the signal
void e_init_remote_control ( void  )

Initialise the IR receiver ports.

ISR ( PCINT1_vect  )
ISR ( TIMER2_COMPA_vect  )

Variable Documentation

unsigned char address = 0
unsigned char check = 2
unsigned char data_ir = 0
 All Data Structures Files Functions Variables Typedefs Defines