Members | Sign In
Chippernut Forums > Shift Light v2.4

v2.41 adapt to Arduino Mega --> problem

posted Aug 21, 2016 20:09:03 by Ben

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?
page   1
2 replies
Ben said Aug 22, 2016 13:23:41
I had a Ground problem... :)
Jonduino said Aug 22, 2016 20:26:25
:) Glad you got it Ben. Let me know if you have any other questions.

- jon
Login below to reply: