I tried to use the lib in a small RCSwitch (https://github.com/rkopka42/MUX_servos3). It reads one input, sets some pins and makes a small delay (100ms). Everything worked fine with an Arduino Uno.
With an ATTiny45 problems started. It seems to get valid time values only for about 1400us and longer pulses. I tried it with 8MHz int. and 16MHz PLL without difference.
I didn't programm a debug version with serial output, so I don't know what value was returned.
I finally did a direct interrupt solution which worked.
I tried to use the lib in a small RCSwitch (https://github.com/rkopka42/MUX_servos3). It reads one input, sets some pins and makes a small delay (100ms). Everything worked fine with an Arduino Uno. With an ATTiny45 problems started. It seems to get valid time values only for about 1400us and longer pulses. I tried it with 8MHz int. and 16MHz PLL without difference.
I didn't programm a debug version with serial output, so I don't know what value was returned. I finally did a direct interrupt solution which worked.