TeamE7

Dependencies:   EthernetInterface HTTPServer RemoteIR SDFileSystem mbed-rpc mbed-rtos mbed

Fork of SmartRemote by Sam Kirsch

IR.h

Committer:
TeamE7
Date:
2017-01-30
Revision:
17:66d69f97b861
Parent:
4:36e0aa194b45

File content as of revision 17:66d69f97b861:

//PROTOTYPES
#include "mbed.h"
#include "ReceiverIR.h"
#include "TransmitterIR.h"

int receive(RemoteIR::Format *format, uint8_t *buf, int bufsiz, int timeout = 100);
int transmit(RemoteIR::Format format, uint8_t *buf, int bitlength, int timeout = 100);
void display_status(char *status, int bitlength);
void display_format(RemoteIR::Format format);
void display_data(uint8_t *buf, int bitlength);