I am trying to get the Blinkey Program to run on a NetduinoGo board in Visual Basic. Since the NGo has Sockets need to make some changes.
The following works on C#
internal const Cpu.Pin SOCKET8_LED = (Cpu.Pin)41; // SOCKET8_LED OutputPort led8 = new OutputPort((SOCKET8_LED), false); led8.Write(false); // turn off the LED
How do I write the VB Code
Dim led As New OutputPort(Pins.ONBOARD_LED, False) or
Dim led As New OutputPort(Pins.SOCKET8_LED, False)