Collection of small examples using the RP2040 and pico-sdk.
All examples are independent of another and all depend on RPi Pico SDK V1.5.1
-
battery_measurement
: ADC reading battery voltage
-
button_polling_no_ir_no_db
: Most Simple Button and LED Example (no interrupt, no debouncing)button_ir_no_db
: Simple Button with Interrupt and LED Example (no debouncing)button_timer_db
: Simple Button with Interrupt, Debouncing and LED Example
-
bno055
: First steps with the BNO055
-
WS2812
: driving a WS2812 LED using PIO
-
WS2812
: driving a WS2812 LED using PIO
-
WS2812
: Simple PWM over GPIO
-
timer_repeating_led
: A repeating timer that toggles a LED
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Parts that were taken from the Raspberry Pi (Trading) Ltd.'s examples are under
- BSD-3-Clause(BSD-3-Clause or https://opensource.org/license/BSD-3-clause/) Copyright (c) 2020 Raspberry Pi (Trading) Ltd.