Fixed delay method by replacing delayMicroseconds call with a loop if

it is too long.
This commit is contained in:
Rafi Khan
2015-08-13 16:54:59 -06:00
parent c058f3f336
commit 11cb3fe442
2 changed files with 89 additions and 70 deletions

View File

@@ -253,10 +253,11 @@ class IRsend
public:
IRsend () { }
void enableIROut (int khz) ;
void mark (int usec) ;
void space (int usec) ;
void sendRaw (unsigned int buf[], unsigned char len, unsigned char hz) ;
void custom_delay_ms (unsigned int time);
void enableIROut (int khz) ;
void mark (int usec) ;
void space (int usec) ;
void sendRaw (unsigned int buf[], unsigned char len, unsigned char hz) ;
//......................................................................
# if SEND_RC5