Read PPM signal

  1. "test" needs to be declared as volatile, see the reference.

  2. Your use of "currentmils" makes no sense at all.

Mark