This library provides a set of useful functions for interacting with the Raspberry Pi Pico W board.
- get_bootsel_btn(): Get the state of the bootsel button.
- set_led(bool state): Set the state of the onboard LED.
- cyw43_arch_init_once(): Wraps cyw43_arch_init(), prevents initializing driver twice.
git submodule add https://github.com/Danielaca18/pico-bootsel-btn.git
Include the library in your project by adding the following line to your project cmake:
add_subdirectory(pico-bootsel-btn)
target_link_libraries(your_project bootsel_btnlib)
This project is licensed under the MIT License, which is a permissive open-source license that allows you to use, modify, and distribute the code for both commercial and non-commercial purposes. You can find the full text of the license in the LICENSE file.