Microcontroller fun
This is a library that targets the .NET Micro Framework and includes a light-weight framework for interacting with your components. It wasn’t finished but has the following features:
To run the web server, check out the BasicWebServerSample in the repository, which is where the following snippet is from:
using (var webServer = new WebServer(fileLogger))
{
webServer.AddRouteHandler(new RouteHandler(
HttpMethod.Get, "test", program.handleTestRequest));
webServer.Start();
Thread.Sleep(webServerDuration);
}
Note: this library was developed with the Netduino Plus 2 board.