Problem ZX gesture sensor interrupting servo and led rgb addressable strip

Hi I am using an Arduino Mega 2560 with two sparkfun zx gesture sensors, two servos, 4 rgb leds strips and 4 light switches.

With the sensor, the code relies on interrupts, which interfere with the bahaviour of the servo and leds.

My knowledge of coding is limited so I am unsure of how to work around this, I think I have to introduce some new code.

Is there an easy fix?

y2K3bG5x.txt (2.11 KB)

Please stop cross-posting.

Hi,
Can you please post a copy of your sketch, using code tags?
They are made with the </> icon in the reply Menu.
See section 7 http://forum.arduino.cc/index.php/topic,148850.0.html

And links to your sensors and servos please.

Thanks… Tom. :slight_smile: