I have RPM Simulator2 running on Arduino UNO and v2.41 running on NANO.
Now i want to adapt v2.41 to Arduino Mega but i have problems with attachInterrupt and FreqMeasure.
I allso use Pin2(Mega int0) for attachInterrupt:
attachInterrupt(0, sensorIsr, RISING);
For FreqMeasure I use Pin49:
#define CAPTURE_USE_TIMER4 // ICP4 is pin 49
Do you have Advice?
Login below to reply: