Home 2018 Forums Crumble Support Runs connected to Mac but not unplugged

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7746
    rtfax
    Participant

    Hi

    I have a simple model fairground ride of a pirate ship. I have a bit of code which runs it perfectly when the crumble is connected to the Mac.See attached screenshot and video 1 Video1
    But when I unplug the crumble and try to run it, it freezes half way through every time.see video2 Video 2

    Attachments:
    You must be logged in to view attached files.
    #7981
    Daniel
    Moderator

    Hi rtfax,

    I must apologise for not getting back to you sooner. One possible cause can be if the batteries aren’t brand new, immediately switching direction of the motors can cause your program to reset as the voltage drops too low, when the batteries are ‘used’.

    One possible solution would be to add a small stop into your program, so that motors stops before changing direction.

    I hope that this helps.

    Dan

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