-
Notifications
You must be signed in to change notification settings - Fork 40
Remove call to _update_coils in __init__ #29
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
Conversation
awesome, thank you! could you verify it still works with stepper motors as expected? |
Yes, and it works if I install dc motors or a stepper. Tested on a Raspberry PI 3B+ |
rad, thanks - the tests no longer pass because they assume that the coils start energized. if you are up for updating those as well, then when it passes we can merge it |
I am not able to run the tests in my environment but looking at the Travis output, it appears what needs to be done is to remove the following lines from each test:
If that is correct, I can edit the test-file but want to make sure that is all that needs to be done and that I don't create havoc by doing so. Just let me know if you wish me to do that. |
i think maybe you want to perform a step - im not sure to be honest. you can leave it and when someone has a chance they can try fixing the test code up |
Sounds good to me. Tnx. |
One option you could do is place an additional parameter into the init with a default of True, such as |
im ok with them not activating at first until the first step, id rather do that and stick with the decision than make it optional (and confusing?) |
Ok, makes sense. That'll work then. |
wanna take a look at fixing the asserts at your convience? |
Yep :) |
Ok, it turns out uninitialized they should return all zeros, so I adjusted the asserts to compare against that. |
Thank you. |
Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Button to 1.1.1 from 1.1.0: > Merge pull request adafruit/Adafruit_CircuitPython_Display_Button#7 from makermelissa/master Updating https://github.com/adafruit/Adafruit_CircuitPython_Motor to 1.5.1 from 1.5.0: > Merge pull request adafruit/Adafruit_CircuitPython_Motor#29 from MrYsLab/master > Merge pull request adafruit/Adafruit_CircuitPython_Motor#28 from tgs/patch-1
I'm rolling this back. The library isn't designed to use when something else is connected. More details here: adafruit/Adafruit_CircuitPython_Crickit#17 (comment) |
The reason for this pull request is documented here: adafruit/Adafruit_CircuitPython_Crickit#17.