In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ringlord wrote: JonnyMac and All-- A little more help, please? Your 100ms to 200ms pulse widths SHOULD be right in the ball park as I read the HB25 documentation. On page 2 it reads . . . "Pulse time can be anywhere from 0.8 ms to 2.2 ms." Doesn't the simple code below do exactly that? Device SX48, OSCHS1 ' Could "OSCHS1" be incorrect? Freq 20_000_000 LED Pin RB.3 HB25 Pin RB.4 ' HB-25 control pin. Twelve_vdc Pin RE.7 ' SSR power pin. idx Var Byte Program Start output HB25 low HB25 Start: High Twelve_vdc PAUSE 1000 ' Wait for left HB-25 to power up . . . DO LOOP UNTIL HB25 = 1 LOW HB25 ' Make I/O Pins Output/Low. PAUSE 20 ' Wait For HB-25 to Initialize. PULSOUT HB25, 150 ' Stop the motor. (750 works on a BS2. What works on a 20mhz SX48?) PAUSE 20 for idx = 80 to 220 ' send pulses which are from .8 ms to 2.2 ms (HB25 docs; page 2) PULSOUT HB25, idx PAUSE 20 High Led pause 1000 low led pause 1000 next low led END What do you think? --Bill ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=335549#m335698 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)