Motor Driver Issue

jgavlik

  • Full Member
  • ***
    • Posts: 30
    • View Profile
In attempting to compile the //  TinyCircuits Dual Motor Driver Basic Example - and after installing the <MotorDriver.h>, I get the following error message....'NO_R_REMOVED' was not declared in this scope...

Any ideas as to what I'm doing incorrectly - like die I install the "right" lib?

Thanks,
John


lennevia

  • Administrator
  • Hero Member
  • *****
    • Posts: 133
    • View Profile
Hello John,

The library you want is on the tutorial page: https://learn.tinycircuits.com/Motors/Dual-Motor_TinyShield_Tutorial/ and on the product page under downloads: https://tinycircuits.com/products/dual-motor-tinyshield?_pos=1&_sid=0e46d202e&_ss=r

There is an old motor library that was deprecated as noted in the README file on GitHub: https://github.com/TinyCircuits/TinyCircuits-TinyShield_Motor_Library - this library should be deleted from your Arduino/libraries folder if you have it so that you are using the new one. Having both would throw errors.

You can download just the ATtiny841 library (the new one) and then access the motor driver example from the examples/ folder within the library.

I hope that helps! Let me know if you are still encountering issues.

Thanks,
Réna



jgavlik

  • Full Member
  • ***
    • Posts: 30
    • View Profile
Réna,

Thanks for the info...that seemed to do it, for now.

Regards....john


 

SMF spam blocked by CleanTalk