View unanswered posts | View active topics It is currently Mon Sep 21, 2020 2:38 pm

Reply to topic  [ 2 posts ] 
help about Vex Serial UART Port 
Author Message

Joined: Mon Apr 02, 2012 11:27 am
Posts: 1
Post 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 !!!

Mon Apr 02, 2012 11:44 am
Site Admin
Site Admin

Joined: Tue May 15, 2007 9:02 am
Posts: 409
Post 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.

Jesse Flot
CMU Robotics Academy
ROBOTC Support

Thu Apr 05, 2012 3:22 pm
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.