Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TA.NetMF.MotorControl seems not to work with more than one Adafruit 2.3 shield #1

Open
steffalk opened this issue Oct 24, 2016 · 1 comment

Comments

@steffalk
Copy link

Hello everybody,

first, I'd like to thank you for that really fine library!

Second, I could not get the library to work when I stack two Adafruit 2.3 motor shields (the second one properly configured on another address) onto my Netduiono 3 board. As soon as I instanciate the second TA.NetMF.ShieldDriver.AdafruitV2MotorShield (giving the correct address), I get an InvalidOperationException.

Each of the boards, the one on the default address 96 and the one configured for address 97, work just fine if I use only one of them.

I am relatively new to micro controller boards, but as far as I digged through the TA source code, it seems to me that each instance tries to reserve an I/O pin, and thus, the second instantiation throws the InvalidOperationException, because the pin has already been reserved by the first object.

Of course, I may just as well have made an error on my own. If so, how do I have to instantiate the TA.NetMF.ShieldDriver.AdafruitV2MotorShield objects to use several motor shields at once?

Thanks again, and best regards,
Stefan Falk

@steffalk
Copy link
Author

steffalk commented Nov 9, 2016

Hello everybody,

are the issues monitored by anyone? Or should I post somewhere else?

Best Regards,
Stefan

@steffalk steffalk closed this as completed Nov 9, 2016
@steffalk steffalk reopened this Nov 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant