O
Reaction score
0

Latest activity Postings About

    • O
      olf20 replied to the thread Reset Encoder.h Library.
      Correct as I stated above. Thanks to all who commented. olf20 / Bob
    • O
      olf20 replied to the thread 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...
    • O
      olf20 replied to the thread 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
    • O
      olf20 replied to the thread 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...
    • O
      olf20 replied to the thread 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
    • O
      olf20 reacted to joepasquariello's post in the thread Reset Encoder.h Library with Like Like.
      You can post your sketch. If it's large, you should create a small test sketch that would let someone compile and run it.
    • O
      olf20 replied to the thread 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
    • O
      olf20 replied to the thread 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
    • O
      olf20 replied to the thread 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
    • O
      olf20 reacted to TomChiron's post in the thread Reset Encoder.h Library with Like Like.
      encoder1.write(desiredPosition) is working here.
    • O
      olf20 replied to the thread Reset Encoder.h Library.
      I'll give it a try. Thanks for the reply! olf20 / Bob
    • O
      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...
  • Loading…
  • Loading…
Back
Top