Hi all, i'm porting to Maple the IRremote library by Ken Shiriff (http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html), and spent last 2 hours trying to find the hang-up point in the IR sending routine. It was the call delayMicroseconds(0), which calls the delay_us function in the delay.h, and in the delay_us there is a line "us--;". So, if I want delay 0 microseconds, I get delay more than hour :)
Maybe it would better to make zero-test at the beginning of the delay_us?