Meadow.Foundation Logo
Meadow.Foundation Logo

Meadow.Foundation greatly simplifies the task of building connected things with Meadow, by providing a unified driver and library framework that includes drivers and abstractions for common peripherals such as sensors, displays, motors, and more. Additionally, it includes utility functions and helpers for common tasks when building connected things.

It’s completely open source and we welcome pull-requests!

Hello, World Example

With Meadow.Foundation, you can use drivers and hardware abstractions directly, for example, instead of using an IDigitalOutputPort class, an LED can be driven by the the PwmLed class, using high-level methods such as StartBlink(), StartPulse(), and more.:

using System.Threading;
using Meadow;
using Meadow.Devices;
using Meadow.Foundation.Leds;

class HelloBlinky
    public static void Main(string[] args) 
        if (args.Length > 0 && args[0] == "--exitOnDebug") return;

        // instantiate and run new meadow app
        new MeadowApp();


public class MeadowApp : App<F7Micro, MeadowApp>
    public MeadowApp()
        var pwmLed = new PwmLed(

        // blink the LED

        // keep the app running

Get Started with Meadow.Foundation

Huge Peripheral Driver Library

Meadow.Foundation has built in support for most common sensors, motors, and other peripherals available on the market.

See the full peripheral list

Powerful Frameworks and Libraries

See the full list


These docs are open source. If you find an issue, please file a bug, or send us a pull request. And if you want to contribute, we'd love that too!