In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: pjv, For example, to output a sinewave in 32 8bit DAC-values: The accumulator approach requires 32*256 interrupt cycles to complete. If you were to use 8 pins and a R-2R ladder network, then all you need is mov port,variable to set a DAC value, and the sinewave will be completed in just 32 interrupt cycles, so you will have a higher frequency output. regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=366927#m367108 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)