For the last week i've been trying to get this http://www.sparkfun.com/products/9607 shield working. This is my code:
public static void Main() { // write your code here SerialPort serialPort = new SerialPort(SerialPorts.COM2, 9600); serialPort.Open(); while (true) { int bytesToRead = serialPort.BytesToRead; if (bytesToRead > 0) { // get the waiting data byte[] buffer = new byte[bytesToRead]; serialPort.Read(buffer, 0, buffer.Length); // print out our received data Debug.Print(new String(System.Text.Encoding.UTF8.GetChars(buffer))); } Thread.Sleep(100); } }I'm powering it with 9v external power and it turns on and I can call it, but it wont print anything. The netduino doesn't reveive any data.
Can somebody tell me what I'm doing wrong?

Edited by Stefan, 24 September 2011 - 12:22 PM.
Added [code]-tags