The problem is when run with Visual Basic I get 4 warning errors (see attached image), when run with C Sharp it runs clean. Other than the warnings everything works the way I want it to.
Is there something missing from the references that would cause me to get the warnings. I am using the provided Netduino Go template.
ColorValue = CByte(255 * Pot.GetValue) 'Warnings 1 & 3 at start of line If (PB.ButtonState Or OPB.Read) Then ' Use either button to change color i += 1 'Warnings 2 & 4 at start of line If i > 7 Then i = 0 End If