Vorto Arduino Generator: no known conversion for argument from datatype Percentage

104 Views Asked by At

Vorto auto-generated code for Arduino won't compile when using Humidity Function Block

I generated an Information Model with both Temperature and Humidity Function block, and when compiling the Arduino auto-generated code, the Percentage Datatype won't compile

Here's a repository to the Humidity Function Block.

I expected the code to compile and flash to the NodeMCU V0.9

Here's the full error message.

1

There are 1 best solutions below

2
On

your problem might be related to https://github.com/eclipse/vorto/issues/1838 where Function Block properties named "value" conflict in the generated code with the param name "value". There the assignment results in value = value which has no effect. This problem has been fixed in 0.11.1 and we will roll out this patch later this week.

I can't access the full error log. Can you paste it into this thread ?