|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Help On Coding 2K1 Controller
Quote:
Oh, how I wish it was something easy like bad joysticks.... (Then i could just get new ones) I will give you the 411 on what I know.... The joysticks all work on port 2 and 4.... I ran button checks on the computer and through the dashboard viewer and all the axies work. The problem is just in my buttons on OI port 1 and 3.... I find it somewhat odd that the number on which the problem I am having trouble on are both odd ports.... Now heres the real kicker..... I am using the 2.0 software as well as the 2.0 default program.... I was tempted to run the 2003 default software but I didn't know if it was compadable. It is not hardware and I dought their is a problem in the OI someware... Remember if their is a problem at a match the first thing that is looked at in detail is the programming.... I still think their is a problem in my coding.... seeing as it is just the button on the odd # ports.... and since thats how in the end the ports are split up for the relay's. If you have in more ideas they would greatly help.... Thanks For The Help All, -Greg The Great |
|
#2
|
||||
|
||||
|
Re: Help On Coding 2K1 Controller
Quote:
|
|
#3
|
||||
|
||||
|
Re: Help On Coding 2K1 Controller
Quote:
Thank You VERY MUCH! This was the problem... Thanks Again... -Greg The Great |
|
#4
|
||||
|
||||
|
Re: Help On Coding 2K1 Controller
Greg:
Check the OI to make sure the Disable Dipswitches are not enabled. These switches disable the switch inputs on ports 1 and 3 and reassign these inputs to ports 2 and 4. See page 17 of the old Operator Interface Reference Guide for more information. If you can't find the guide online send me an e-mail or pm with your e-mail and I'll send it your way. Steve |
|
#5
|
||||
|
||||
|
Re: Help On Coding 2K1 Controller
Quote:
As you mentioned, it's odd that the problem is only on ports 1 & 3. Both of those are read in and stored in 'oi_swA' so that's the first place to look. I've fogotten some of the common coding problems in the old controller, but the ones I remember - telling the controller you want to grab the byte from the stream, and actually including the byte in the stream - look good. Try printing out 'oi_swA' immediately after it's read in from the data stream. |
|
#6
|
||||
|
||||
|
Re: Help On Coding 2K1 Controller
Allright I will try all of this fun stuff tonight, seeing as I am at school right now... I believe you might be right about the disable dip-switches seeing as my # is on 000 right now...
Thanks, -Greg The Great |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C controller | Rorschach | Kit & Additional Hardware | 1 | 29-10-2003 19:21 |
| serious problem found - robot controller resets when jarred! | KenWittlief | Electrical | 23 | 19-03-2003 13:30 |
| Visibility of Robot Controller and Reset Button | Tracy | Rules/Strategy | 1 | 17-02-2003 07:36 |
| How do you connect the speed controller fans? | Iain | Electrical | 7 | 31-01-2003 07:05 |
| visibility of robot controller? | davidzhang | Rules/Strategy | 5 | 26-01-2003 01:11 |