Home 2018 › Forums › Crumble › Development › Multi-threading – like Scratch
- This topic has 3 replies, 3 voices, and was last updated 6 years, 9 months ago by
drkempton.
-
AuthorPosts
-
December 7, 2015 at 4:12 pm #3084
Mike
ParticipantHi,
You know in Scratch you can have several ‘blocks’ of code, all with a ‘start program’ block at the top of them, and all running at the same time. Its a really great way to modularise code and create complex behaviours. I guess it means multi-threading or something similar?
Is this possible with the crumble?
(please say ‘yes’!) 🙂
December 8, 2015 at 9:29 am #3085Joseph
KeymasterHi Mike,
I’m afraid it’s not currently possible with the Crumble software. There are limit resources on the micro, which makes it a bit tricky. I plan on adding events at some point – i.e. blocks that are similar to the ‘program start’ block, but say ‘when A goes HI’ or similar.
Although, when the Crumble is being controlled from the PC it should be easier. Simon’s ScratchCrumble might already do this?
All the best,
Joseph
December 8, 2015 at 9:49 am #3086Mike
ParticipantThanks Joseph,
Event blocks would be a great alternative.
I don’t really use the Crumble tethered very much – one of the best things about it is that it works independently for autonomous vehicles etc.
+1 for events being higher up the development list!
Best
Mike
March 4, 2017 at 2:13 pm #4247drkempton
ParticipantAlthough I love Crumbles and use them a lot, if you want multithreaded software then try Genie Microcontrollers.
http://www.genieonline.com -
AuthorPosts
- You must be logged in to reply to this topic.