TinyCircuits Forum

General Category => General Discussion => Topic started by: jgavlik on October 20, 2020, 01:20:33 PM

Title: Motor Driver Issue
Post by: jgavlik on October 20, 2020, 01:20:33 PM
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
Title: Re: Motor Driver Issue
Post by: lennevia on October 20, 2020, 02:00:59 PM
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

Title: Re: Motor Driver Issue
Post by: jgavlik on October 20, 2020, 03:33:41 PM
Réna,

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

Regards....john