Hi there!
Thank you for creating this library it created an excellent jumping point for a project that I am working on that will control multiple cameras and pan-tilt controllers. One feature I wanted to add is a timeout to the blocking library that will disable blocking if some error has occurred while trying to communicate with a camera. ie... camera being powered down or a cable unplugged.
The default timeout is 100ms as defined in the variable LANC_BLOCKED_CALL_TIMEOUT_MS. I have also added some additional functions like power down, focus control, and record which I plan to further work on to get a confirmation back from the camera.
I also renamed the file LibLancBlocing.cpp to LibLancBlocking.cpp (adding the letter K to the filename)
I have been primarily developing using the Arduino IDE and a Pi Pico but also did some early testing with these changes on a Nano Every as well.
I am pretty green too the pull request thing, but I am more than open to feedback and suggestions. Thanks!
Lann
Hi there!
Thank you for creating this library it created an excellent jumping point for a project that I am working on that will control multiple cameras and pan-tilt controllers. One feature I wanted to add is a timeout to the blocking library that will disable blocking if some error has occurred while trying to communicate with a camera. ie... camera being powered down or a cable unplugged.
The default timeout is 100ms as defined in the variable LANC_BLOCKED_CALL_TIMEOUT_MS. I have also added some additional functions like power down, focus control, and record which I plan to further work on to get a confirmation back from the camera.
I also renamed the file LibLancBlocing.cpp to LibLancBlocking.cpp (adding the letter K to the filename)
I have been primarily developing using the Arduino IDE and a Pi Pico but also did some early testing with these changes on a Nano Every as well.
I am pretty green too the pull request thing, but I am more than open to feedback and suggestions. Thanks! Lann