Engduino  3.1.0
A fun device for learning coding
Public Member Functions | Friends | List of all members
EngduinoIRClass Class Reference

Public Member Functions

 EngduinoIRClass ()
 Constructor. More...
 
void begin ()
 begin function - must be called before using other functions More...
 
void end ()
 end function - switch off the IR More...
 
void sendBit (bool b)
 Send a single bit. More...
 
void send (uint8_t b, bool startstop=true)
 Send a byte. More...
 
void send (uint8_t *buf, unsigned int len, bool startstop=true)
 Send a buffer of bytes. More...
 
void send (char *buf, unsigned int len, bool startstop=true)
 Send a buffer of bytes. More...
 
void sendRaw (unsigned int *buf, int len)
 Raw send function. Provide timings for mark and space pairs. More...
 
int recv (uint8_t *buf, uint16_t timeout=0, bool startstop=true)
 Blocking receive of an IR transmission, with optional timeout. More...
 
int recvRaw (uint16_t *buf, uint16_t timeout=0)
 Raw receive function - returns timings for inter-mark gaps. More...
 

Friends

void TIMER3_COMPB_vect ()
 
void PCINT0_vect ()
 

The documentation for this class was generated from the following files: