Arduino Component Usage Example

I want to use the Arduino component to read the serial port data sent by the Arduino. So, I’ve tried one way to make my app but I’m not able to make it work because the Arduino .Open block won’t fit into the when button1 .Click block.
blocks (3)
Please help.

Thanks!

Is it a bug? Or am I using it wrong?

Do I need to use the Arduino extension on Thunkable?

Try like this and see if it works,

image

1 Like

Ok. I’ll try

1 Like

Can we get data from the Arduino and display it in real-time to a label?

Thanks!

Wait. It also becomes a block that can’t be connected to a when button1 .clicked block

image

So it is possible to connect the blocks like this? :arrow_down:
image
Will it work?

I made some blocks
image
Will it work? I currently don’t have a USB-C OTG cable so I can’t test.

What happens if you try like this ?

image

1 Like

Can that work?

I connect my arduino via bluetooth with an HT-06 module so I haven’t tried it. Try and see

1 Like

My friend has an USB-C OTG cable. I will ask him to test it

1 Like

He isn’t available now so it will take so time to test it and see if it works

1 Like