basis code project
Dependencies: EthernetInterface HTTPServer RemoteIR SDFileSystem mbed-rpc mbed-rtos mbed
Fork of SmartRemote by
IR.h@18:242a5e3d3893, 2018-01-26 (annotated)
- Committer:
- Loreas
- Date:
- Fri Jan 26 13:08:53 2018 +0000
- Revision:
- 18:242a5e3d3893
- Parent:
- 4:36e0aa194b45
smartremote software;
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); |