In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: Attached is a test program for the PWM driver. The PWM driver uses 4 states, meaning the lowtime and hightime parameters should each be at least 2. pwm frequency = INTERRUPTRATE/(lowtime+hightime) Values for lowtime and hightime are inputted via terminal (I used basic stamp debug terminal) like lowtime,hightime<ENTER> The inputted values are then displayed by the terminal as lowtime:hightime Unzip the attachement in a folder and load DynamicVP_test_PWM1.SXB in the IDE. The pwm signal appears on pin RB.7 Next step is to test the 32bit Timer VP. 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=328202#m335893 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)