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.Foundation;

public class HelloBlinky
{
    public static void Main()
    {
        var pwmLed = new LEDs.PwmLed(
            App.Device.D01, 
            LEDs.TypicalForwardVoltage.Green);

            // pulse the LED
            pwmLed.StartPulse();

            // keep the app running
            Thread.Sleep(Timeout.Infinite);
    }
}

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!