keuzeproject
Dependencies: mbed HTTPServer RemoteIR mbed-rtos SDFileSystem EthernetInterface mbed-rpc
Diff: IR.h
- Revision:
- 4:36e0aa194b45
diff -r a3b4d032f48f -r 36e0aa194b45 IR.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IR.h Tue Dec 03 02:40:59 2013 +0000 @@ -0,0 +1,10 @@ +//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); \ No newline at end of file