Skip to content

Basic Train - Colour detection - Multitasking #1941

Answered by laurensvalk
rbeckett75 asked this question in Q&A
Discussion options

You must be logged in to vote

Your blocks look right; This should be working, so maybe it is something under the hood. Which version of the app are you using? (See app settings, click on about).

Can you share the generated Python code and copy it here? Do you get any errors while doing this? Now that I think about it, is it saying anything about not using the same resource (like the sensor) in two parallel tasks at once?

(As an aside, you can even skip the explicit multitask and the two tasks you made: you could just take another start block. This generates exactly the same code though, so it's just a matter of preference and should not make a difference for this issue.)

If by any chance you are using the beta version…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by rbeckett75
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@laurensvalk
Comment options

Comment options

You must be logged in to vote
3 replies
@laurensvalk
Comment options

@rbeckett75
Comment options

@laurensvalk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants