Upload Mode Broadcast: format conflict in value passed


#1

Hey everyone and @tech_support
I am actually trying to upload my program in my mBot. When I try to upload it, it always gives me back that error: “cannot convert ‘String’ to ‘float’ in assignment } ^ Failed to compile file code.cpp arduino build failed.”.
This appens because I used the “Upload Mode Broadcast” extension to pass a value data from the sprite script. But it read the value as a string and not as number.
In particular, mBot code (in upload mode) try to put into a variable (that for mBot code is a numeric type) the value of broadcast message sent by the sprite (that the block of this extension considers to be of string type!).
Can someone help me?