??? 03/10/08 16:50 Read: times |
#152094 - Exactly...... Responding to: ???'s previous message |
All I want it to do is have the 4 switches polled, do their action (100% functional).
Then after the switches are polled, to poll each ADC for one scan, use the measured A/D byte, do an output action, move on to the next ADC, same action as first, go back and recheck the four switches......do forever. Simple. The ADC is a real PITA. Most A/D's I've interfaced where external and free running. Of course being onboard is convienient, but causing me big time grief..... I can't seem to find any good source code anywhere even as an example. The NXP app note is way out in left field and the user manual and data sheet only discuss operational pararmeters and the like. an interesting learning curve to say the least. |
Topic | Author | Date |
Problems with Code Architect and interrupts | 01/01/70 00:00 | |
where is the ISR? | 01/01/70 00:00 | |
Erik... | 01/01/70 00:00 | |
you enable an interrupt for which there is no ISR | 01/01/70 00:00 | |
I missed the ISR routine.... | 01/01/70 00:00 | |
Whoops, here is the .c file with the ADC ISR..... | 01/01/70 00:00 | |
Also forgot mention...simulation works fine | 01/01/70 00:00 | |
I found part of my problem | 01/01/70 00:00 | |
Interrupts | 01/01/70 00:00 | |
Modified.....seems right, I2C bus going nuts | 01/01/70 00:00 | |
Polling or Interrupts | 01/01/70 00:00 | |
Exactly...... | 01/01/70 00:00 | |
Opinion | 01/01/70 00:00 | |
Gentlemen....thats what I thought I had!! | 01/01/70 00:00 | |
Port config![]() | 01/01/70 00:00 | |
poll .... | 01/01/70 00:00 |