I am trying to get a Netduino Plus 2 to communicate with PuTTy.
using System;using System.Net;using System.Net.Sockets;using System.Threading;using Microsoft.SPOT;using Microsoft.SPOT.Hardware;using SecretLabs.NETMF.Hardware;using SecretLabs.NETMF.Hardware.Netduino;using System.IO.Ports;namespace NetduinoPlusRx{ public class Program { static SerialPort port; public static void Main() { // write your code here port = new SerialPort(SerialPorts.COM2, 115200, Parity.None,8,StopBits.One); port.Open(); while (true) { port.Write(new byte[] { 0x01, 0x02, 0x03 }, 0, 2); Thread.Sleep(100); } } }}
PuTTy isn't picking up anything. I have an FTDI cable with Ground connected to Ground, and Rx/Tx connected to pins 3/2.
Any thoughts/obvious errors?