|
Re: Interrupt on driver station digital input
Quote:
Originally Posted by Nameless
Is it possible to attach an interrupt to a digital input on the driver station? I would like to use an encoder as an input device, and I don't believe there is any other way use them than with interrupts. I looked through the WPILib beta 5 code and didn't see anything about driver station interrupts in DriverStation.h/cpp and FRCComm.h.
If this isn't possible, I'm considering using a microprocessor to take in the encoder readings, keep track of the encoder offset, and output that as a PWM signal to the driver station analog input. For example, if the encoder is turned halfway around, the microprocessor would send a 50% PWM to the driver station. Would this work correctly? Also, does the driver station have a power source I could use? (As I understand it, external power is not allowed.)
|
Have we been allowed to create custom processing circuits and attach them to the OI in past years?
Quote:
Portable computing devices
must not be connected to joystick input ports on the Operator Interface.
|
Where do they draw the line?
__________________
Team Leader
Team 1595
|