Elisa3
|
#include "ir_remote_control.h"
Functions | |
void | init_ir_remote_control (void) |
Initialize the IR receiver port pin in order to generate an interrupt (external interrupt pin PCINT15). | |
ISR (PCINT1_vect) | |
ISR (TIMER2_COMPA_vect) | |
unsigned char | ir_remote_get_check (void) |
Return the last check bit. | |
unsigned char | ir_remote_get_address (void) |
Return the address of the last command. | |
unsigned char | ir_remote_get_data (void) |
Return the data of the last command. | |
void | handleIRRemoteCommands () |
Interpret the commands received through TV remote control in case it is enabled. | |
Variables | |
unsigned char | address = 0 |
unsigned char | data_ir = 0 |
unsigned char | check = 2 |
void handleIRRemoteCommands | ( | ) |
Interpret the commands received through TV remote control in case it is enabled.
void init_ir_remote_control | ( | void | ) |
Initialize the IR receiver port pin in order to generate an interrupt (external interrupt pin PCINT15).
unsigned char ir_remote_get_address | ( | void | ) |
Return the address of the last command.
unsigned char ir_remote_get_check | ( | void | ) |
Return the last check bit.
unsigned char ir_remote_get_data | ( | void | ) |
Return the data of the last command.
ISR | ( | PCINT1_vect | ) |
ISR | ( | TIMER2_COMPA_vect | ) |
unsigned char address = 0 |
unsigned char check = 2 |
unsigned char data_ir = 0 |