Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed HTTPServer RemoteIR mbed-rtos SDFileSystem EthernetInterface mbed-rpc
IR.h
- Committer:
 - sammacjunkie
 - Date:
 - 2013-12-03
 - Revision:
 - 4:36e0aa194b45
 
File content as of revision 4:36e0aa194b45:
//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);