In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Zoot wrote: Handy file, that. Peter, just a few questions on your notes: - under step 2, is the following 2*Vdd - 2*Uinmin to be read as (2*Vdd) - (2*Uinmin) - under step 3, is the following Vdd - 2^(N-1) * ( Uinmax - Uinmin ) to be read as Vdd - ( 2^(N-1) * ( Uinmax - Uinmin ) ) or ( Vdd - 2^(N-1) ) * ( Uinmax - Uinmin ) - under step 4 I'm a bit confused by Fs and N: -- for example, N (bit resolution) would be 8 if I'm using a byte as the final ADC value? 16 if a Word? etc? -- Fs is how many times per second a converted sample is desired, or how many times per second the state of the output pin will be set? I believe it's the latter? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=311165#m311313 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)