View Single Post
  #2   Spotlight this post!  
Unread 12-01-2013, 21:24
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Is OpenVex a dead project?

Quote:
Originally Posted by adamdb View Post
Has anyone implemented a routine to read a gyro with openvex? Has anyone implemented an API to the second TX/RX port (the ones exposed on the controllers TX/RX pins)? I'm sure I can figure these out myself, but would like to save the effort if someone has already done it.
Though not for OpenVex, I wrote all the code you need to operate a gyro and the second serial port. Bill gave a link to the basic Vex code above, but the gyro code can be found here:

http://kevin.org/frc

Follow the directions for merging the gyro code for the FRC controller, which is almost identical to the Vex controller. Once you have it working, you should be able to merge the pieces of code you want into the OpenVex framework.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org