Hi, I'm trying to operate the 12 bit A/D converter that can be purchased via Parallax.ˇ I have the program that is provided via the link and am wondering if it is possible to read only 1 of the two channels and use the result in an IF....THEN situatiion to signal an I/O pin to sound an alarm.ˇ Also, if this is possible, I am wondering how this is so.ˇˇAttached is the program that is found on the link and what I've used.ˇ Thank you very much as I greatly appreciate any help and have a great safe day!
Last edited by ForumTools; 10-01-2010 at 11:06 AM.
Reason: Forum Migration
I am currently using the same ADC for a project.ˇ You can select just ch0 or ch1 on your ADC.ˇ Take the | statement out of your code that ORs config.ˇ Then you can make the 3rd bit of config a constant for channel 0 or 1.ˇ Hope that helps.
Last edited by ForumTools; 10-01-2010 at 11:06 AM.
Reason: Forum Migration
Bookmarks