ttl serial port
Posted 10 December 2010 - 07:14 PM
Posted 11 December 2010 - 04:39 AM
I got the chip running using rs232 port for download. I would like to use the usart for talking to a serial display at the same time.
Can this be done? I tried some netduino code. "s1=new(serialports(com1)); " but got an error.
Welcome to the Netduino community.
You can use the 3.3V TTL UART on pins 11 and 12 to communicate with a serial display (as long as the serial display uses 3.3V/5V signals). The port on pins 11 and 12 is COM1.
As far as your code, it should look something like "SerialPort s1 = new SerialPort("COM1", 115200...)". Can you post a snippet of your code?
Posted 11 December 2010 - 03:10 PM
Posted 11 December 2010 - 05:44 PM
I must be missing a reference. The project automaticaly added
Be sure to add Microsoft.SPOT.Hardware.SerialPort.dll as a reference to your project.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users