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
But here comes the problem, if I put shutter enable in one file and shutter disable in another file, such as start.py and stop.py
so that I can control the shooting period only stops when I call stop.py
start.py works fine makes the gopro start shooting, but when I call stop.py gopro will not stop shooting, lookings the this file is waiting for a task to finish then starts to run.
Can someone help me out and give me a guide, thanks
The text was updated successfully, but these errors were encountered:
When I have the following in one file such as test.py
The gopro functions fine, start shooting and wait for 5 seconds stop shooting.
await gopro.http_command.set_shutter(shutter=Params.Toggle.ENABLE)
await asyncio.sleep(5)
await gopro.http_command.set_shutter(shutter=Params.Toggle.DISABLE)
But here comes the problem, if I put shutter enable in one file and shutter disable in another file, such as start.py and stop.py
so that I can control the shooting period only stops when I call stop.py
start.py works fine makes the gopro start shooting, but when I call stop.py gopro will not stop shooting, lookings the this file is waiting for a task to finish then starts to run.
Can someone help me out and give me a guide, thanks
The text was updated successfully, but these errors were encountered: