In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: You can think of single pin PWM as modulating a single bit DAC. The article just shows how do implement a 3-bit DAC. Instead of dividing my 7 (instead of 8) another method of implementation is to have a second LSB bit (so a forth pin with a 4K resistor). In this method, after setting the 3-bit DAC with (Value / 32)This "second LSB" pin is then the only pin toggled just like standard single pin PWM (with value // 32) . Of course this requires 1 more pin and another resistor. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=366927#m367142 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)