help about Vex Serial UART Port
Page 1 of 1

Author:  akin01 [ Mon Apr 02, 2012 11:44 am ]
Post subject:  help about Vex Serial UART Port

Hello everyone, i'm trying to connect vex PIC with another PIC 16F outside the microcontroller Kit. I'm think, i will connect with the Kit by RX and TX slot in the kit like this picture:


Can you tell me, what is UART number ? when i view the sample code. i see this code:

Something like this:

sendChar(uartTwo, 9);

// Repeat forever
// Read a character
// Validate that it the value expected. Increment valid/invalid peg count.
// Clear any additional characters from buffer and increment peg count
// Send the next character in the sequence (i.e. "N+1") for it to be looped back.

time1[T1] = 0;

So if i code like the sample, What is "port RX and TX" UART Number

How can i send and receive the data from VEX to another Microcontroller ? Thank you so much !!!

Author:  jbflot [ Thu Apr 05, 2012 3:22 pm ]
Post subject:  Re: help about Vex Serial UART Port

The UART Port number applies to the newer VEX Cortex. With the PIC, I'm pretty sure you can use just the getChar() and sendChar() commands without specifying a UART Port.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group