Posted April 20, 20222 yr Hello, I want to make a lego useless box with lego powered up motors, i want to use 1 motor as a sensor (to notice the lever is pulled) and the other motor to put the lever back. But now i need a lego powered up program for it. The program needs to be that if the 1st motor is turned a specific amount of degrees the other motor will be triggered and go turn a amount of degrees and back. Can someone send me a program for this? Because i tried but it didnt work out.
April 29, 20222 yr On 4/20/2022 at 8:49 AM, Awunguyeoob said: Can someone send me a program for this? Because i tried but it didnt work out. Always fun! Start with exploring this guide: https://racingbrick.com/powered-up-code-block-guide/ You need to have a good understanding of the basic code blocks, in the guide are nice green '+' buttons which shows all the details for each block. Start with reading the position of the motor in a loop with this block: Send me a DM if you get stuck. Cheers, Gerrit
May 2, 20222 yr Author On 4/29/2022 at 5:54 PM, GerritvdG said: Always fun! Start with exploring this guide: https://racingbrick.com/powered-up-code-block-guide/ You need to have a good understanding of the basic code blocks, in the guide are nice green '+' buttons which shows all the details for each block. Start with reading the position of the motor in a loop with this block: Send me a DM if you get stuck. Cheers, Gerrit Hi Gerrit, Im glad you reacted to my question because i tried it again with your help and now it works how i want it to do. Now i can build my lego useless box! Thank you! Cheers, Awunguyeoob
November 6, 20222 yr I used 1x sensor + 1x motor. https://www.youtube.com/watch?v=wdf_GTM2jLQ&ab_channel=BrickMania-BG Edited November 6, 20222 yr by vladoniki
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.