In SX Microcontrollers, SX/B Compiler and SX-Key Tool, robsubjavelin wrote: Hello, To contol a H-bridge (LMD18200), with a 8-bit PWM signal, I think to use the SX-28. I'm waiting for the C compiler, but maybe it takes to long. The PWM freq is 20kHz, the PWM steps 0-255. A HALL sensor will sent a puls and a direction (0/1), to get the position back, and with some PD algoritme. A serial input must by use for sending a new setpoint. First i will start with the PWM. I have not much experience with the SX, therefore any help is wellcome. spec: clock: 50Khz PWM: 20khz, PWM steps 255. Serial: 9600/19200 baudrate Hall encoder speed ~500/sec Is this realistic ? Best Regards Rob. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=114791 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)