In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Beau Schwabe wrote: Tracy, I don't have a problem with using the entire 8-bit port to bit-bang a sine wave via a R2R dac, but I don't gain any more CPU time doing it that way vs with the 2-pin method I mentioned above. I think even a triangle wave would work using the two pin method with a 90 Deg phase lag. [code] A B Sine Phase 0 1 0 Deg 0 0 90 Deg 1 0 180 Deg 1 1 270 Deg [\code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=108186#m108209 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)