Created
January 29, 2020 11:47
-
-
Save davidwhitney/4a0b3473a5f9a9d3ca923344464efabc to your computer and use it in GitHub Desktop.
NanoFramework Code Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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