Lamella

Boards / Adafruit Feather RP2350 / Quickstart

Blink an Adafruit Feather RP2350.

RP2350 (2x Cortex-M33), 150 MHz -- 8 MB RAM -- 8 MB flash

You need

  • A Adafruit Feather RP2350
  • A Raspberry Pi Debug Probe (for deployment and debugging)
  • A USB-C cable (not a charge cable)

On Lamella RHU (full .NET 11)

  1. Install .NET 11

    Install the .NET 11 SDK from dotnet.microsoft.com.

  2. Install the Lamella templates

    dotnet new install Lamella.ProjectTemplates
  3. Create a Lamella app named blink

    dotnet new lamella-app -o blink
    cd blink
  4. Write code to blink the LED

    Replace the contents of Program.cs with this code:

    using System.Device.Gpio;
    using System.Threading;
    
    const int LedPin = 7; // the onboard LED
    
    var gpio = new GpioController();
    var led = gpio.OpenPin(LedPin, PinMode.Output);
    while (true) {
        led.Toggle();
        Thread.Sleep(500);
    }
  5. Run the app on your board

    dotnet run

    The LED on your board should now blink once every second.

Specs, support, and board facts: the Adafruit Feather RP2350 board page.

It blinks. Where next?