Quote:
|
Originally Posted by Splintercell
Kevin,
What our goal is to initialize the ADC one time, but to activate 2 analog pins during the call. That way we can have 2 inputs ready for us to grab when we want them.
Is this possible and if so how ?
|
i had one more thought, if you want to use 2 analog pins i am assuming that you are using a gyro and accelerometer at the same time, i actually just considered doing this myself and here's my latest idea: set your timer to interrupt twice as frequently as needed for each device and then take the output from the adc for different pins each time. This may be too much of a burden on your system depending on what you are doing so you could just keep the same timer rate and alternate pins each time, but most likely this would be too slow for your purposes