How can I access the Pico W's LED with the rp-hal crate?

This page summarizes the projects mentioned and recommended in the original post on /r/raspberrypipico

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • rp-hal

    A Rust Embedded-HAL for the rp series microcontrollers

  • My starting point is the rp-hal blinky example: https://github.com/rp-rs/rp-hal/blob/main/rp2040-hal/examples/blinky.rs

  • pico-sdk

  • the LED of the W is hooked to the wireless chip. in the c sdk, the function to tell the chip to set it's gpio pin(s) is: cyw43_arch_gpio_put(CYW43_WL_GPIO_LED_PIN, 1); where CYW43_WL_GPIO_LED_PIN is the macro to the LED. (https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/pico_cyw43_arch/include/pico/cyw43_arch.h line 468)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts