|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
digital outs
Is it possible to send a signal to the same digital output on the controller more than once in a program cycle? I know the putData() function is only called once every slow cycle, but is it possible to have another function that only sends data to the digital outputs that is called more often in order to speed things up?
|
|
#2
|
|||
|
|||
|
Re: digital outs
The digital i/o's are directly connected to the PIC. Anything that happens to them happens simultaniously on the connectors. So, if you modify a digital i/o, it'll change right away on its respective connector. My understanding is that the only ones that don't happen right away are the PWM outputs, but that's because they take some extra processing.
EDIT: Oh wait. I just noticed that this is in the CMUcam forum. Were you asking about the camera or the robot controller? |
|
#3
|
|||
|
|||
|
Re: digital outs
EDIT:
Oh wait. I just noticed that this is in the CMUcam forum. Were you asking about the camera or the robot controller?[/quote] Thanks for your help! That makes a lot of sense and really clears things up. I was asking about the robot controller... I didn't realize I put this in the CMUcam forum and not the programming forum. |
|
#4
|
||||
|
||||
|
Re: digital outs
Quote:
See my post here for an example of using digital outputs between putdata statements. Good luck. Mike |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| No value in digital ins using NASON pressure switch. | Ari Allyn-Feuer | Programming | 1 | 18-02-2006 01:18 |
| Digital Caliper as a Digital Readout on Small Mill | sanddrag | Technical Discussion | 9 | 13-10-2005 22:51 |
| Dynamic Input/Output Changing | Paolo | Control System | 6 | 23-09-2004 19:09 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |
| digital inputs not valid just after initialization? | WizardOfAz | Programming | 2 | 26-01-2004 13:21 |