Also it takes time to call an interrupt, and also quite a long time for the digital write call, so you are never going to get anywhere even close using that code.
Also it takes time to call an interrupt, and also quite a long time for the digital write call, so you are never going to get anywhere even close using that code.