Hello,
i have a problem with the attachInterrupt function.
When the time between two impulsion is under 15ms, the arduino block and stop everythings.
Is there a minimum time for this function ?
It is no way as long as 15mS. It is a lot shorter in the order of four or fice clock cycles. A lot depends on what the interrupt service routine is doing.
Thank you for the answer !
My prog increment a constant when there are a switch on the rotary encoder.
If the time between two switch it's shorter than 150ms, the value increment of 5.
With this prog i have tested and if i put the time under 15-13 ms the prog stop.
I don't understand why !
If you want test this prog you put juste two wire, one of the pin 2 to 8 and the other of the pin 3 to 9.
Like i put the output directly on the input i thing it's ok, because every time the inut are supply, there are no floating moment.
But it's just for the test in really i have put Pull-Up resistors on the rotary encoder.