Testing

Connect together the modules and load the project onto the Mainboard. The sketch controls and an empty screen should appear. The LED will be red, so plug the Ethernet cable in and it should turn green. As with the “HelloWebServer” example with which we started this chapter, make a note of the Mainboard’s IP address in the Output are of Visual Studio.

Start a browser on a computer on the same network as the Mainboard and navigate to your IP address with “/sketch” appended. You should see an empty black image. This is to be expected, as we haven’t drawn anything yet, so write a message or draw something on the screen and then hit Refresh.

You should see your message on the browser, a bit like Figure 4-11.

A Picture Message

Figure 4-11. A Picture Message

Get Getting Started with .NET Gadgeteer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.