mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2025-12-11 08:56:14 +00:00
update custom_delay function
Use micros() to delay based on "real-time" instead of approximation with delay() or delayMicroseconds() Changed name to _usec to correspond to MicroSeconds. _ms is MilliSeconds.
This commit is contained in:
@@ -253,7 +253,7 @@ class IRsend
|
||||
public:
|
||||
IRsend () { }
|
||||
|
||||
void custom_delay_ms (unsigned int time);
|
||||
void custom_delay_usec (unsigned long uSecs);
|
||||
void enableIROut (int khz) ;
|
||||
void mark (int usec) ;
|
||||
void space (int usec) ;
|
||||
|
||||
Reference in New Issue
Block a user