Bonjour Timo,
Could you please help me.
I am working on a simple tachometer sketch and have troubles with the interrupt.
I get the pulse from the "W" connector of the generator. It is pluged to the D2 pin of the Arduino Uno thru a small PCB.

I use the interrupt to catch the pulse:
...int pin = 2;
...attachInterrupt(digitalPinToInterrupt(pin), rpm_fun, FALLING);...It works and count accurately only if I comment these lines:
...
NMEA2000.Open();
... SendN2kEngine(); NMEA2000.ParseMessages(); ...
But iIf I uncomment them, it does'nt count any longer.
Anyway this sketch can properly send dummy data to the N2K network.
I have tried to use the D3 pin (INT1), supposing that there is an incompatibility between the INT0 (D2 pin) and the NMEA2000 library, but I can't get any count when using the D3 pin.
Concernng the UNO memory, this small sketch uses only 84%.
Can you tell me what is wrong ?
Merci.
FX