Read an input signal with just ONE INTERRUPT!!!

aarg:
So this is a commercial enterprise? Should you be asking for free help then?

??

If one wants to make money, why not seek the lowest cost solution? If you could get a decent haircut for free, wouldn't you?

BTW, Arduino itself is a commercial enterprise... do you feel bad about your time spent enriching their company/principals/employees supporting their products?