Attribute range expression

LokitoesLokitoes Member, PRO Posts: 187

Hi guys,

I am working with accelerometer and want something to happen when it is within particular ranges.

For the expression, I want to say things like "when accel x is between +7 and +9, do this". Currently I just have this written in the expression window but I have no idea if this is ok or not?

And what if the range is between +3 and -3, or -3 and -5, not just plus values? Then the kind of simple expression that I have here wouldn't seem to apply anymore - how would I write it then?

Thanks all!

Comments

Sign In or Register to comment.