In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ellizard wrote: HI Bean, As usual after answering for other informations, I started to think in front of a spreadsheet with the real figures on it.......... And Bang it come to eyes that: @50Mhz 1667 represents 1667 * 20ns = 29.994 Khz and 834 (say 50% duty) is 834 * 20 ns = 59.988 Khz All is clear now for the PWm Still with doubts and grey areas on the capture mode. how should do a command for starting timer, stopping for an external event (a voltage more than Vref) and storing that elapsed time in a variable? Regards Stefano ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=170635#m171217 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)