What I'm ending up with is:
When value = 1 I end up with 0
When value = 0 I end up with 65535
On Aug 3, 9:26 pm, Fiasco <dgvoll...@gmail.com> wrote:
> I have two possible regex values:
> 1 and 0
>
> These are assigned to a token [tokenvalue]
> data type analog
> target type digital
> token type token
> transform abs([tokenvalue]-1)
> Min value 0
> Max Value 0
>
> Will this correctly transform 1 into a 0 and 0 into a 1?
>
> 0-1 = -1
> abs(-1) = 1
>
> 1-1 = 0
> abs(0) = 0
>
> Yes?
--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.


Comments
0 comments to "Re: basic expression question"
Post a Comment