ideo / Figproxy

Software that allows Figma to talk to hardware, enabling the creation of rapid prototypes of physical devices.
MIT License
101 stars 6 forks source link

# Communication between figma and figproxy #2

Open Naschender opened 1 week ago

Naschender commented 1 week ago

Hey there, I am trying to connect a programmable LED strip with a Arduino Uno r3 board and figma . Arduino-Code: the start flags for three different routines are "a" "b" "c" and they are working fine I verified this first in the Arduino IDE console and after that as well in the figproxy "Test Send & Receive" console. Both are working just fine.

Figma: As in the examples, I placed the text "send a" "send b" "send c" (without " ") into the open Link field at figma. The interaction gets startet by mouse click.

If I'm in prototyping mode, pressing one of the buttons, there is a new tab opening up and I can also read in the command line that it says "send%20a". As I learned, %20 stands for the empty space between the letters of "send a". I am guessing that this could cause the problem, but I rather know how to fix this, as well as I am clueless if this really is where my problem occured.

I would be very glad for some help. Thanks guys :)

davidvondle commented 1 week ago

It seems like you don’t have Figproxy configured correctly to act as your default browser. You need to allow Figproxy to be the default browser for your system.

The why part: Figproxy acts as your default browser and looks for the links that have “send%20” and then route the subsequent data to arduino. If another browser is popping up, this means you haven’t allowed figproxy to be your default browser.

On Wed, Jun 26, 2024 at 6:16 AM Naschender @.***> wrote:

Hey there, I am trying to connect a programmable LED strip with a Arduino Uno r3 board and figma . Arduino-Code: the start flags for three different routines are "a" "b" "c" and they are working fine I verified this first in the Arduino IDE console and after that as well in the figproxy "Test Send & Receive" console. Both are working just fine.

Figma: As in the examples, I placed the text "send a" "send b" "send c" (without " ") into the open Link field at figma. The interaction gets startet by mouse click.

If I'm in prototyping mode, pressing one of the buttons, there is a new tab opening up and I can also read in the command line that it says "send%20a". As I learned, %20 stands for the empty space between the letters of "send a". I am guessing that this could cause the problem, but I rather know how to fix this, as well as I am clueless if this really is where my problem occured.

I would be very glad for some help. Thanks guys :)

— Reply to this email directly, view it on GitHub https://github.com/ideo/Figproxy/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG7T3UWJZ756BDFR6QY5YTZJKPKDAVCNFSM6AAAAABJ5VLZXSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3TKMBVHEZDENA . You are receiving this because you are subscribed to this thread.Message ID: @.***>