TeamE7
Dependencies: EthernetInterface HTTPServer RemoteIR SDFileSystem mbed-rpc mbed-rtos mbed
Fork of SmartRemote by
IR.h@17:66d69f97b861, 2017-01-30 (annotated)
- Committer:
- TeamE7
- Date:
- Mon Jan 30 12:55:27 2017 +0000
- Revision:
- 17:66d69f97b861
- Parent:
- 4:36e0aa194b45
TeamE7
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); |