Go to Post "We just fundraised $5000 for registration, and you spent it all on balloons?" - [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 12-03-2015, 07:22
KMBruggeman KMBruggeman is offline
Registered User
FRC #3737 (RotoRaports)
Team Role: Programmer
 
Join Date: Mar 2015
Rookie Year: 2014
Location: Goldsboro, NC
Posts: 8
KMBruggeman is an unknown quantity at this point
Re: paper: Driver Station Encoder Support using the TI LaunchPad

I think I was able to follow most of this but did have some follow-up questions. Though I'm not as experience in looking at the launchpad code or using eclipse.

Looking at the example code:

P1IE basically enables the interupt
P1IES enables interupt edge select

It appears that we are limited to just P1 and P2,e.g. we could add a second encoder with P2IE and P2IES?

Additionally, to map that to a button 2.2 and 2.7 we could reference bits 2 & 7 respectively?

To output it then could I use the other 16 BITS for the buttons out?

Finally, is there the ability to pass additional encoder counts so long as we did not exceed the current draw of the launchpad?

For example could I run an interrupt on P3 using 3.2 and 3.6?

Would I just implement that by passing an integer vs a float for an axis value?

Thanks for any help, my sum total of knowledge is thus far based upon your team's paper and Google. (http://courses.cs.washington.edu/cou...pts-posted.pdf)
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 18:34.

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