1 Reply Latest reply on May 2, 2007 8:03 PM by NSurveyor

    averaging values


      i would like to average the last 100 incoming mouse y values.
      my code knowledge is quite limited, but i know i should use a ring buffer, because i will onyl want the NEWEST 100 values (so value 101 overwrites value 1 in an array)

      any advice on how to start?

      thanks so much,