|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Using gyro with other analog sensors...again
Hi,
There's been a few discussions here about reading analog inputs when using the gyro code, but no solid solutions. Based on Kevin's "interleaving" suggestion, we've tried to modify the timer interrupt handler to read the gyro on every other interrupt, and use the get_analog function to read the sensors in between...we've tried disabling the timer when servicing the interrupt, resetting the ADC, and so on...so far no success. We can either read the gyro, or the sensors, but not both. We're not expert programmers here, but I would think using potentiometers and such with the gyro isn't that exotic of an idea...has anyone been able to do this? Thanks in advance for any suggestions... - JJD |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using gyro.c with other analog sensors no go | Astronouth7303 | Programming | 17 | 03-01-2006 21:04 |
| Updated: Example Gyro Interface Code | Kevin Watson | Programming | 2 | 28-03-2005 04:36 |
| Example gyro code released. | Kevin Watson | Programming | 60 | 17-03-2005 18:32 |
| Why not analog sensors?? | gnormhurst | Programming | 16 | 07-03-2004 16:14 |
| Gyro Sensors | fred | Programming | 12 | 22-02-2004 23:07 |