Jens Van Hoof / Mbed 2 deprecated SmartRemote

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

Fork of SmartRemote by Sam Kirsch

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers IR.h Source File

IR.h

00001 //PROTOTYPES
00002 #include "mbed.h"
00003 #include "ReceiverIR.h"
00004 #include "TransmitterIR.h"
00005 
00006 int receive(RemoteIR::Format *format, uint8_t *buf, int bufsiz, int timeout = 100);
00007 int transmit(RemoteIR::Format format, uint8_t *buf, int bitlength, int timeout = 100);
00008 void display_status(char *status, int bitlength);
00009 void display_format(RemoteIR::Format format);
00010 void display_data(uint8_t *buf, int bitlength);