--- In bc2000@yahoogroups.com, "ajawdokimov" <ajawdokimov@...> wrote: > 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 You can also use "val": $button 41 .showvalue on .mode updown .minmax 64 127 .tx $B0 $0F val This also produces exactly the same output as the ".easypar" version you mentioned earlier, i.e. 127 when you press the button and 64 when you release it. Hope this helps, Mark.
Message
Re: How do you use momentary (updown mode) in a .tx statement?
2010-05-05 by markwinvdb
Attachments
- No local attachments were found for this message.