Home 2018 Forums Crumble Development Multi-threading – like Scratch

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3084
    Mike
    Participant

    Hi,

    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’!) 🙂

    #3085
    Joseph
    Keymaster

    Hi 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

    #3086
    Mike
    Participant

    Thanks 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

    #4247
    drkempton
    Participant

    Although I love Crumbles and use them a lot, if you want multithreaded software then try Genie Microcontrollers.
    http://www.genieonline.com

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.