Search results

  1. O

    Reset Encoder.h Library

    Correct as I stated above. Thanks to all who commented. olf20 / Bob
  2. O

    Reset Encoder.h Library

    I had tried that with no results. I did find a solution from another forum. It involved modifying the library. I inserted this in the public area of the library. void reset() { noInterrupts(); ct = 0; old_ct = 0; out_val = 0; interrupts(); } Then called myencoder.reset(0)...
  3. O

    Reset Encoder.h Library

    The reason I posted on this forum is because of the author of the library. I'm not using Teensy. I'm seeking information on how to reset the encoder count using Paul's library. Thanks for any help! olf20 / Bob
  4. O

    Reset Encoder.h Library

    Attached is a simple sketch that uses Quadrature.h that illustrates my problem of not being able to reset the encoder values. I've included several solutions offered to resolve to no avail. I added the I2C lcd as I had it already setup. Thanks for any help. olf20 / Bob
  5. O

    Reset Encoder.h Library

    I tried it and although it compiled it did not reset the encoder value. Am I missing something? Thanks for your reply / help! olf20 / Bob
  6. O

    Reset Encoder.h Library

    I tried it and although it compiled it did not reset the encoder value. Am I missing something? Thanks for your reply / help! olf20 / Bob
  7. O

    Reset Encoder.h Library

    Should I post the whole sketch? I'm using Encoder.h as my encoder library. Everything works as it should but I can't reset the encoder value as needed in my sketch. Thanks for your reply / help! olf20 / Bob
  8. O

    Reset Encoder.h Library

    Tried it and got the error below. encoder.write(desiredPosition); class Quadrature_encoder<0, 1>' has no member named 'write' olf20 / Bob
  9. O

    Reset Encoder.h Library

    I'll give it a try. Thanks for the reply! olf20 / Bob
  10. O

    Reset Encoder.h Library

    I'm using Encoder.h in a sketch and have a need to reset the Encoder count. I've tried various suggestions and none have compiled. The value has to be in the library as if I shut the power off to the encoder the value still remains in the sketch. Thanks for any assistance! olf20 / Bob
Back
Top