Lamella

Boards / Pimoroni Pico LiPo 2 / Quickstart

Blink a Pimoroni Pico LiPo 2.

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

You need

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 = 25; // 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 Pimoroni Pico LiPo 2 board page.

It blinks. Where next?