View Single Post
  #4   Spotlight this post!  
Unread 27-01-2012, 23:16
jp1247's Avatar
jp1247 jp1247 is offline
No the cRio does not like aluminum!
FRC #1247 (ROK BOT)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: New Hampshire
Posts: 60
jp1247 is an unknown quantity at this point
Re: Analog Breakout?

Then it should look something like this, probably not exactly though...

Code:
 DigitalInput ballCounter = new DigitalInput(I/O slot);
As for wiring it, you're going to want to take a PWM cable, clip off the male end, and solder the red and black wires to either terminal on the switch. Then plug the PWM into the digital i/o slot on your digital sidecar in the appropriate slot, and orientation.
__________________
"No, you can't use the Kinect to do pelvic thrusts."

Last edited by jp1247 : 27-01-2012 at 23:20.