Skip to content

[Question] How did you discover the rpc commands? #6

@penguix0

Description

@penguix0

Hi @nutki,

I was wondering how you discovered this bit of code:

def display_set_pixel(self, x, y, brightness = 9):
    return self.send_message('scratch.display_set_pixel', { 'x':x, 'y': y, 'brightness': brightness})

Specifically the part where you send scratch.display_set_pixel, How did you discover that you can send this and are there more commands to send? Maybe commands for controlling motors or sound?

I'm looking forwards to your reply!

penguix0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions