I got myself some Kit-Starter code from google uploaded by someone else.
I hooked on my USB-Serial Cable and set my COM port to COM1.
When i build and ran it , it gave me error on this line, im not sure what's happening.
private int parseLGResponseHexa(string resp) {
var splitter = new string[1];
splitter[0] = "OK";
String[] partes = resp.Split(splitter, StringSplitOptions.RemoveEmptyEntries);
String naco = partes[1];
String num = naco.Substring(0, 2);
int decAgain = int.Parse(num, NumberStyles.HexNumber);
return decAgain;
}
Error At "String Naco = partes[1];"