they are separate triggers and pots
they trigger very close to the same time but the zero return triggers only
once per complete chain cycle
the pot count triggers 30 times per chain cycle

On Thu, Sep 9, 2010 at 8:09 AM, Andy Pugh <[email protected]> wrote:

> On 9 September 2010 13:39, Stuart Stevenson <[email protected]> wrote:
>
> > if (PotZero) {
> >    toolpotcount = 1;
> > } else if (PotCount) {
> >    toolpotcount = toolpotcount + 1;
> > }
>
> Does the "zero" pot also trigger the "PotCount" pin?
>
> I would be tempted to put the edge detector into the comp, to make the
> HAL simpler. That would also allow you to mask PotCount on PotZero.
>
> if (PotZero && !OldPotZero){.....
>
> --
> atp
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
dos centavos
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to