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

Allow servos time to move before script exit #9

Closed
Gadgetoid opened this issue Jul 4, 2017 · 1 comment
Closed

Allow servos time to move before script exit #9

Gadgetoid opened this issue Jul 4, 2017 · 1 comment
Assignees
Milestone

Comments

@Gadgetoid
Copy link
Member

See: http://forums.pimoroni.com/t/pantilthat-python-py-wont-work-anymore-but-python-commandline-does-solved/5159

@Gadgetoid Gadgetoid added this to the v0.0.5 milestone Nov 20, 2017
@Gadgetoid Gadgetoid self-assigned this Nov 20, 2017
@Gadgetoid Gadgetoid modified the milestones: v0.0.5, v0.0.6 Feb 6, 2018
@Gadgetoid
Copy link
Member Author

This issue still remains controversial- and hasn't had any new reports, as far as I know, since the original issues with it.

The basic premise is that the library would require a small delay - enough to facilitate servo movement -before allowing the script to exit. Delaying at exit is slightly strange, though, so perhaps we need, instead, an example that clearly indicates how to set a servo and exit, IE:

import pantilthat
import time
pantilthat.pan(90)
time.sleep(1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant