Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Use a button to turn motor on/off/change direction #4105
    Dave
    Participant

    Another crack with a screenshot.

    Single button controlling two motors and two sparkles. Short press reverses one motor / toggles back and forth. Longer press stops everything.

    A number of variations are possible with button counts.

    in reply to: Use a button to turn motor on/off/change direction #4104
    Dave
    Participant

    Hi
    I have a similar one, which works a two conveyor belt lego kit. The button controls the direction of one of the motors with just a short tap. A longer tap switches both off.

    Cheers

    in reply to: Interrupt? #3928
    Dave
    Participant

    There isn’t a proper interrupt in the crumble language as far as I know

    in reply to: How to create buttons #3927
    Dave
    Participant

    Hi
    You could use some code to count how many times the button is pressed. Then use the IF<>THEN blocks to set the sparkles to different colours

    in reply to: ERROR: Crumble not found! #3252
    Dave
    Participant

    Hi,
    A similar thing happened to my crumble on my iMac, when it had been perfect for weeks. I did a whole bunch of basics before it got connected again. Took power off of crumble including through USB. Restarted the iMac, used a second crumble, same error. Tried a different USB lead, no joy. Restarted the iMac, made a cuppa, tried again. Then it worked!

    My crumble was with the robotic vehicle it had always been with. The only difference was that I’d left the battery power ‘on’ for ages and it had drained them. Replacement batteries might have been part of the fix.

    in reply to: Sparkle Output issues? #2948
    Dave
    Participant

    Lol!
    Sorry Simon, must have been tired and mistaken about ABC.

    Is there a detailed documentation sheet we can get please?
    Like how much power do the motor outputs provide? Also ABCD as outputs?

    Thanks for clearing that up about sparkles.

Viewing 6 posts - 1 through 6 (of 6 total)