On 2/23/2014 2:38 PM, Jared Turner wrote:
> So I think I have the hardware setup - but now I'm confused on how to
> actually setup PWM to control an axis. I noticed that the .hal file
> has some PWM instances at the bottom, but they seem to be set for
> heaters. Should repurpose one of these or create a new one? How do I
> create a new one, reference it to a pin, then connect it to the
> software? The more I read about the hal configuration, the more
> confused I get :S there's lots of work here (Thanks for all of it
> BTW)  

Unless you're intending to use the heater outputs and run a 3D printer,
you should just re-use one of the existing PWM outputs.  The pin numbers
can be confusing, since there are about 4 different schemes all required
to match up properly to get anything to work.  I'm working on fixing
that, but in the meantime, using one that's already setup and just
changing what's driving the PWM value is your best bet.

Holler if you get stuck.

-- 
Charles Steinkuehler
[email protected]

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to