|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Cypress I/O Module
My team has decided to use the Cypress Board this year, and we are not entirely sure how to program it. Can anyone either explain it or reply with a link to where I can find further information?
I have already gone through the "How to Configure Your I/O Module" pdf on the KOP website, but it doesn't really explain how to program it. Thanks in advance! |
|
#2
|
||||
|
||||
|
Re: Cypress I/O Module
Quote:
In your robot code, you access the inputs/outputs that you hooked up via the DriverStation class, or if you use the more advanced features of the board, through the DriverStationEnhancedIO class. |
|
#3
|
|||
|
|||
|
Re: Cypress I/O Module
Let's say, for example, that I have buttons hooked up to the Cypress Board and I wanted to grab the state of each button. How would I do that inside my C++ code (i.e. what class and function etc. would I use)? Also, I am not worried about the dashboard.
![]() |
|
#4
|
||||
|
||||
|
Re: Cypress I/O Module
Code:
DriverStationEnhancedIO &dseio = DriverStation::GetInstance()->GetEnhancedIO(); // read first analog input float value = dseio.GetAnalogIn(1); |
|
#5
|
||||
|
||||
|
Re: Cypress I/O Module
We have just installed all Cypress software from disk, and we are only able to get it to be recognizzed on an XP machine and not on the classmate, wich is Windows 7. The softwatre claims that a service has not been statrted.
What to do? |
|
#6
|
|||||
|
|||||
|
Re: Cypress I/O Module
You can try starting the CyMiniProg3 service.
It's under Control Panel->Administrative Tools->Services Last edited by Mark McLeod : 16-03-2011 at 18:47. |
|
#7
|
||||
|
||||
|
Re: Cypress I/O Module
Not there. Itr appears that it does not install correctly into Windows 7.
|
|
#8
|
||||
|
||||
|
It does not install correctly on 7.
However, some folks over at team 266 at WMR COmpetition told me to unistall Cypress and redo updates. I have done all of them and still no coms (little light on I/O tab lit). File version is v2 as included in public files on classmate, as configured from another laptop. Wellll??????????? ![]() |
|
#9
|
|||
|
|||
|
Re: Cypress I/O Module
Although I don't know how to help you with your current problem, I will let you know that the IO Board can be flaky. Last year we would have to restart our classmate before our matches and pray that the IO would be there. This year we are still using the board, and although we have not had any problems yet, we have programed all of the necessary functions to work with joystick buttons and not the IO Board if and only if the main driver is holding one of the triggers, that way, even if IO goes down, we can still play our match. (although the drivers' hands will be kinda cramped)
But I'd say work first on getting it to work and I'm really sorry that I don't have any answers for you, other than I can tell you it works with the Windows 7 on our Classmate. |
|
#10
|
||||
|
||||
|
I would like to put out a big thanks to all of Team 226 at the West Michigan meet. It took a full install of evrything: refornmating of DS, all updates, and 2 hours, but she works now! The Cypress board even gets recognized when the DS is already running!
Note to evryone: DO NOT INSTALL CYPRESS DISK ON LAPTOPS THAT YOU WANT TO DRIVE WITH! It's done: HALLE-.... oh hang on, it's lent. Now I just have to start assigning variables and finishing wiring..... ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|