>
> Hi Anton,
>
> I think what you're looking for is the "ifp" and "ifn" commands in the
> .tx statement. Check out the "Just a jump to the left" section in
> SecretBC.pdf doc in the files section for more details on this. Hope
> this helps.
>
> Cheers,
> Joey.
>
> On 5/5/2010 11:16 AM, ajawdokimov wrote:
> > Hi All
> >
> > How do you use momentary (updown mode) in a .tx statement?
> >
> > i cant seem to seperate the .tx values to correspond to on/off states
> > of the button, it just chucks out both the on and off state on the on and off (wow that must sound confusing :)
> >
> > heres an example ;)
> >
> > $button 41
> > .showvalue on
> > .mode updown
> > .minmax 64 127
> > .tx $B0 $0F $7F (i want this to be the on state)
> > .tx $B0 $0F $40 (Want this to be the off state)
> >
> > hope that clarifies my ramplings ;
> > at the moment it chucks out both states on button and off
> >
> > cheers
> > Anton
> >
> >
>