programing question
wonka
Posts: 12
Hello,
I need help I have untill friday to get this project up and running and I am issue with my program. I need help with timing I use·the pause command to that and reading in bits for my a/d converter. I also think i have a contuines loop it mess up her a attachment of my code and ideas or anything please help.
thanks adam
I need help I have untill friday to get this project up and running and I am issue with my program. I need help with timing I use·the pause command to that and reading in bits for my a/d converter. I also think i have a contuines loop it mess up her a attachment of my code and ideas or anything please help.
thanks adam
Comments
·· I am confused by a few spots in your program...For example, why are you doing 4 PAUSE 500 commands in a row instead of one PAUSE 2000?· Also, is your A/D converter parallel output?· If so, how do you know when there is valid data on it?· The code is a little sporadic so it's hard to tell what's going on.· You could really use some alias' for the ports so we know what's connected.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
What kind of A2D are you using?· Do it simply put its value onto the bus, or does it require some kind of stimulous (most do)?
If you provide more details about your circuitry and project logic, we'll be able to offer more assistance.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
I am using a signal conditoner that goes into a A2D converter ADC0804. I have it set for continous reading. It then sends digtal signal to the microcontroller. Eight output pins from the A2D is send to the first input pin 0-7 on the microcontroller.
Thanks,
Adam
The devil is in the details... provide 'em, and you'll get more help and fewer questions shot back.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA