Remote control routines, uses RC5 Philips IR protocol. More...
#include "dwengoBoard.h"
Functions | |
void | initRC (void) |
Initialize remote control functionality. | |
void | irISR () |
int | readRC5Command (void) |
Read latest received RC5 command. | |
int | readRC5Address (void) |
Read latest received RC5 address. |
Remote control routines, uses RC5 Philips IR protocol.
IR part of Dwengo library
Routines for remote control using ifrared RC5 codes
Version: 1.0.
Date:
(c) Dwengo vzw - http://www.dwengo.org
Library to make remote remote control easier
void initRC | ( | void | ) |
Initialize remote control functionality.
Initializes remote control functionality of the Dwengo board. Configures pin RB4 as digital input, configures timer 3 correctly, enable interrupt-on-change
int readRC5Address | ( | void | ) |
Read latest received RC5 address.
Reads latest received RC5 address. If none received since last read -1 is returned
int readRC5Command | ( | void | ) |
Read latest received RC5 command.
Reads latest received RC5 command. If none received since last read -1 is returned