|
Re: 2003's FRC Robot Controller
Quote:
|
Originally Posted by ahmed
how are we supposed to learn C if we have not bought a radio controller
|
There are many ways to do input and output from the EDU controller witout using a radio.
For input... - Attach a switch across the "SIG" and "BLK" pins for a digital input.
- Attach the two ends of a 100 kiloohm potentiometer (varaible resistor) to the "+5V" and "BLK" pins for an analog input and attach the middle wire to the "SIG" pin.
Just pretend the potentiometers are each one axis of a joystick and the switches are joystick buttons. In fact, you could even BUILD a joystick out of two potentiometers and two pushbutton switches, though I have no idea why you'd ever want to do so. ^_^
For output... - Use the handy printf() function provided by FIRST
- Attach a 5-volt LED across a digital output. I've never tried it (I can't get my hands on the controller until tomorrow, GRRR...), but from the documentation it looks like you'd connect the LED's cathode (negative lead) to the "BLK" pin and the anode (positive lead) to the "SIG" pin. Please correct me if i'm wrong!!!
- Make the TTL output port do something. Does anyone know how? If I ever figure it out I'll let you know.
All this information and more can be found in InnovationFirst's EDU-RC documentation. Use it!
~Aaron
__________________
"If we knew what we were doing, it wouldn't be called research, would it?"
—Albert Einstein
<X3 What can I do? You broke the tie wraps that were holding together my heart. ^_^
|