|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Interrupts with CMUCam
For our robot, we want to use a quadrature encoder so that we can move our manipulator to preset heights on the arm. I read the "Quadratuer Encoders" white paper, and modified the example code to work with one interrupt.
This works fine with the default code, but I noticed that on Kevin's CMUCam code, the use of serial_ports means that user_Serialdrv.c and user_Serialdrv.h must be deleted. Where, then, do I put the interrupt code, and how do I hook the encoder up to the robot controller? I read through serial_ports.c, but I didn't really see a place for an interrupt handler where I could add the encoder code... |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reading an encoder with interrupts | GlennGraham | FIRST Tech Challenge | 4 | 25-08-2006 12:44 |
| CMUcam Related Interrupts | phrontist | Programming | 1 | 31-01-2006 23:01 |
| Help with pots/interrupts | mtrawls | Programming | 10 | 24-02-2004 17:01 |
| help with Interrupts | thoughtful | Programming | 5 | 08-01-2004 16:07 |
| Problem with interrupts on the PIC | Mike Betts | Programming | 7 | 16-12-2003 21:26 |