You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: