Skip to content

[Feature] Powered Up Remote Control #186

Closed
@laurensvalk

Description

@laurensvalk

image

We are considering adding support for this device. The proposed API is published here. Please let us know what you think!

In essence, you would initialize and use it just like most sensors. Pairing happens in your script; no manual steps required. Specifying the bluetooth address is optional.

from pybricks.pupdevices import Remote
from pybricks.parameters import Button, Color

remote = Remote()

while True:

    if Button.LEFT_UP in remote.buttons.pressed():
         remote.light.on(Color.RED)
    else:
        remote.light.off()

Does this meet your use case? Are there other features you would like to see?

As always, upvoting this post (:+1:) will help us prioritize the features you want most, so spread the word!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthub: handsetIssues related to the LEGO Powered Up Handset (remote control)platform: Powered UpIssues related to LEGO Powered Uptopic: bluetoothIssues involving bluetoothtopic: remote controlIssues related to remotly controlling hubs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions