"error 510" bluetooth

i am making an app where i send variabels with bluetooth to an microcontroller.
when i try to send it it gives me ‘error 510’ could not decode switch as integer
13

does someone know how to fix this.
when i use ‘round’ it also gives an error when trying to send data.
Knipsel

it’s for a project at school and my teacher has never worked with appinventor so he has no clue on how to fix this.

Show us where you assign values into the 2 circles variables.

From the looks of your error, you assigned a component block into one of them
instead of a component.Text block.
a3fc141e6326c3f4a5683f80ba4645262ff4323f

Well spotted by ABG

image

You probably mean Slider1.ThumbPosition ?

i’ll give that a try

thx