Go to Post "So we have an arm, and the pot on it tells how high we are... ...and then we know how high we want to be... ...and if we're not high enough we go higher." (I have to leave the room, we're all laughing too much.) - demosthenes2k8 [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 29 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #13   Spotlight this post!  
Unread 31-01-2016, 22:39
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 349
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by schleprock View Post
ok, if i hook it up to CS0 on the roborio, then i assume i need to use: kOnboardCS0

ie: SPI.Port.kOnboardCS0

not sure how to specify ports on the roborio. when most people talk about the various ports, they seem to mean those available through the mxp port. if they're talking about using a port that is detached from the mxp, but available on the mxp, i've seen brokenout used... so how do you specify the SPI port connections that are separate from the mxp port?

thanks
Yes, if connecting the RoboRio onboard SPI pins to the navX-MXP's SPI breakout connector pins, you would use SPI.Port.kOnboardCS0 in your software. This also means you would connect the corresponding pins on the RoboRIO's SPI connector block (eg, the CS0 pin, the MOSI, MISO, and GND pins) to their corresponding pins on the navX-MXP's SPI breakout connector.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:00.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi