smart remote team 2

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

IR.h

Committer:
TheSkyBreaker
Date:
2019-01-24
Revision:
17:654aff3d811a
Parent:
4:36e0aa194b45

File content as of revision 17:654aff3d811a:

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