Added a new Brand "Kamoona" to be used for other applications that are not a known brand.
Fork of RemoteIR by
Diff: ReceiverIR.h
- Revision:
- 13:ddc6f7c92583
- Parent:
- 12:0651f02169ee
--- a/ReceiverIR.h Sun Apr 19 19:11:32 2015 +0000 +++ b/ReceiverIR.h Mon Apr 27 01:47:26 2015 +0000 @@ -35,7 +35,7 @@ */ typedef enum { Idle, - Receiving, + // Receiving, Received } State; @@ -55,24 +55,24 @@ * * @return Data bit length. */ - int getData(RemoteIR::Format *format, uint8_t *buf, int bitlength); + int getData(RemoteIR::Format *format); private: typedef struct { RemoteIR::Format format; - int bitcount; - uint8_t buffer[64]; +// int bitcount; +// uint8_t buffer[64]; } data_t; typedef struct { State state; int c1; int c2; - int c3; - int d1; + // int c3; + /* int d1; int d2; - int d3; + int d3; */ } work_t; InterruptIn evt; /**< Interrupt based input for input. */