Duane
I investigated the peeks a bit more in detail and it deemed on me this is probably cause by the oscilloscope (or transport to) and not the interrupt or other arduino code.
So I tried this code
if(flag=getChannelsReceiveInfo())
{
plot(RC_Channel_Value);
for (int var = 0; var < NUM_RC_CHANNELS; ++var) {
if(RC_Channel_Value[var]>30000)
{
Serial.println(RC_Channel_Value[var]);
}
}
}
No prints were generated even though the oscilloscope showed values of +30000.
As the oscilloscope is brand new and I only tested it with values up to 1025 I can safely conclude the peeks are not on the arduino.
Best regards
Jantje