Hi there,
I am trying to create a character or string type variable in Mblock 5. Each time I create a variable it’s a float variable. Is there any workaround for this?
I am using Arduino.
Thanks
Hi there,
I am trying to create a character or string type variable in Mblock 5. Each time I create a variable it’s a float variable. Is there any workaround for this?
I am using Arduino.
Thanks
I’m afraid you cannot do this with Mblock, it is a “design feature”. The only way is to drop down into C coding, it’s frustrating, but that’s the only option that I know of.
float x;
String Gelenveri;
x = Gelenveri.toFloat();
I do it this way. this is a different way.