On 11 November 2013 10:45, tuxcnc <[email protected]> wrote:

> If you have a good computer, you can set base_thread=20000 and get 25
> kHz on charge-pump.out, this is too fast.

I think that this is something worth considering, (the same problem
has come up on the forum).

There seems little harm in also having a /4 pin too.

Can I suggest that code like this might be faster?

static int acc
if (enable){
    acc ++
    out = (acc & 0x1);
    out2 = (acc & 0x2);
    out4 = (acc & 0x4);
} else {
    out = 0;
    out2 = 0;
    out4 = 0;
}



-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to