blah

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

Fork of HTTPServerHelloWorld by Donatien Garnier

IR.h

Committer:
sammacjunkie
Date:
2013-12-04
Revision:
16:2d23297857bc
Parent:
4:36e0aa194b45

File content as of revision 16:2d23297857bc:

//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);