Groep E3 - EMDEV
Dependencies: EthernetInterface HTTPServer RemoteIR SDFileSystem mbed-rpc mbed-rtos mbed
Fork of SmartRemote by
IR.h@4:36e0aa194b45, 2013-12-03 (annotated)
- Committer:
- sammacjunkie
- Date:
- Tue Dec 03 02:40:59 2013 +0000
- Revision:
- 4:36e0aa194b45
libraries all fixed. RPCVariable added in and working
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sammacjunkie | 4:36e0aa194b45 | 1 | //PROTOTYPES |
sammacjunkie | 4:36e0aa194b45 | 2 | #include "mbed.h" |
sammacjunkie | 4:36e0aa194b45 | 3 | #include "ReceiverIR.h" |
sammacjunkie | 4:36e0aa194b45 | 4 | #include "TransmitterIR.h" |
sammacjunkie | 4:36e0aa194b45 | 5 | |
sammacjunkie | 4:36e0aa194b45 | 6 | int receive(RemoteIR::Format *format, uint8_t *buf, int bufsiz, int timeout = 100); |
sammacjunkie | 4:36e0aa194b45 | 7 | int transmit(RemoteIR::Format format, uint8_t *buf, int bitlength, int timeout = 100); |
sammacjunkie | 4:36e0aa194b45 | 8 | void display_status(char *status, int bitlength); |
sammacjunkie | 4:36e0aa194b45 | 9 | void display_format(RemoteIR::Format format); |
sammacjunkie | 4:36e0aa194b45 | 10 | void display_data(uint8_t *buf, int bitlength); |