Go to Post Ok guys. What is this? Make Brandon work day? - Brandon Martus [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 03-12-2008, 02:04
Nameless Nameless is offline
Registered User
FRC #0074
 
Join Date: May 2008
Location: Holland, MI
Posts: 4
Nameless is an unknown quantity at this point
Interrupt on driver station digital input

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.)

For the visual people:
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Securing the Driver Station? Madison FRC Control System 16 16-12-2008 03:05
driver station doesn't see robot nickmagus Programming 4 29-11-2008 23:58
2009 Driver Station Dimensions noxryan FRC Control System 5 27-11-2008 21:02
pic: The new driver station Billfred Extra Discussion 28 23-04-2008 20:07
size of driver playing station 663.keith Technical Discussion 1 11-01-2005 13:23


All times are GMT -5. The time now is 18:01.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi