We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code does not work:
auto& manager = BlackBox::Manager::singleton(); manager.init(); manager.power().turnOn(); manager.power().turnOn5V(); manager.lock().init(); manager.lock().lock();
However, adding a delay helps:
auto& manager = BlackBox::Manager::singleton(); manager.init(); manager.power().turnOn(); manager.power().turnOn5V(); manager.lock().init(); vTaskDelay(1000 / portTICK_PERIOD_MS); manager.lock().lock(); vTaskDelay(1000 / portTICK_PERIOD_MS);
The text was updated successfully, but these errors were encountered:
If both snippets are correct, then it makes sense, because you need to turn on the 5V for the lock to work...
Sorry, something went wrong.
I updated the initial post.
No branches or pull requests
The following code does not work:
However, adding a delay helps:
The text was updated successfully, but these errors were encountered: