Post your EV3 projects, project ideas, etc here!
Moderators: roger, gloomyandy, skoehler
Is it possible to wait for some event (like IR buttons or luminosity change by given threshold), in similar way that original labview software does it?
I can endlessly ask for values in a loop, but this is not the best approach here, I believe.
Could you point me to any class and/or example that may be helpful?
- New User
- Posts: 3
- Joined: Sat Oct 05, 2013 6:13 pm
No sorry no way to do that, unless you do it yourself by having another thread poll the sensor (which is in effect what the labview/Lego software is doing). At least if you do it yourself you get to choose how often you poll the sensor...
- leJOS Team Member
- Posts: 3537
- Joined: Fri Sep 28, 2007 2:06 pm
- Location: UK
Return to EV3 Projects
Who is online
Users browsing this forum: No registered users and 0 guests