using Meadow;
Program.cs
using Meadow;
using Meadow.Devices;
using System.Threading;
using Meadow.Foundation.Leds;
namespace HelloMeadow
namespace HelloMeadow
{
{
MeadowApp.cs
class Program
public class MeadowApp : App<F7Micro, MeadowApp>
{
{ static IApp app;
public MeadowApp()
public static void Main(string[] args)
{
{
var pwmLed = new PwmLed( // instantiate & run new meadow app
Device, Device.Pins.D13, TypicalForwardVoltage.Blue);
app = new MeadowApp();
// pulse the LED
Thread.Sleep(Timeout.Infinite);
pwmLed.StartPulse();
} }
} }
} }
@meliss_houghton