In SX Microcontrollers, SX/B Compiler and SX-Key Tool, maxwin wrote: Hello all, In the last few days I have tested both [b]SHIFTIN[/b] & [b]ADC0831[/b] methods to read the output from a 10k pot, and can read fairly smoothly 0 - 255 on my debug screen. So is there any reason to use an external ADC chip instead of just the SX Comparator (ADC8.SXB in the help file) ? And what difference (if any) does using an ANALOGIN method bring? It seems to me that with SHIFTIN, to charge the cap and read back the level takes around 100ms, so assuming the SX can spare 100ms on each cycle of its Main sub, is there any other reason I might use an ADC ? Stability? Increased voltage sampling? Habit? [u][b]Note:[/b][/u] The ADC 0831 has 8-bit resolution and 1 channel... I understand that I might switch to another ADC for extra resolution or more channels. But here I just want to compare like-for-like sampling. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=215435 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)