Skip to content

Instantly share code, notes, and snippets.

@davidwhitney
Created January 29, 2020 11:47
Show Gist options
  • Save davidwhitney/4a0b3473a5f9a9d3ca923344464efabc to your computer and use it in GitHub Desktop.
Save davidwhitney/4a0b3473a5f9a9d3ca923344464efabc to your computer and use it in GitHub Desktop.
NanoFramework Code Example
public class Program
{
public const int DefaultDelay = 1000;
public static void Main() => new Program().Run();
public Program()
{
Console.WriteLine("Constructors are awesome.");
}
public void Run()
{
while (true)
{
Console.WriteLine("ArduinYo!");
Thread.Sleep(DefaultDelay);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment