On 19 December 2010 03:14, Kirk Wallace <[email protected]> wrote:
> Basically, $10 for an AVR processor, $15 for a programmer, $10 for a > breadboard and some odd bits, then learn a bit of C, steal some free > bits of code off the Internet, and now I have an EMC2 compatible fast > PWM generator and a lot more that I just haven't figured out yet > (...priceless). It's not nearly as fast as an FPGA, but maybe fast > enough. Easily fast enough, I am sure. I am trying to recall where I get the guidance I needed to run the PWMs on my Arduino (as I did it with direct register writes rather than using the Arduino libraries as I wanted extra speed) If I remember then I will post the links, in the meantime you might be able to glean some info from the code here: http://wiki.linuxcnc.org/uploads/Resolver.pde (timer2 setup section) > http://www.sparkfun.com/news/506 Fun, but my mum had a much wider and finer knitting machine that could knit patterns in 2 colours (maybe more) from punched sheets back in the 80s, so I am not entirely sure what that gains other than the ability to change width? -- atp "Torque wrenches are for the obedience of fools and the guidance of wise men" ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
