When I build this project I get the following error regarding the "value" in the Onset method. I adapted this code from "DeviceIntegration.ewp" which has no errors.
Here is the error:.
[16.2.2021 0:31:20] Information : Generating code for the profile 'STM32F746' ...[16.2.2021 0:31:20] Error Application::DeviceClass.Command (1:32) : Unknown identifier 'value' found.[16.2.2021 0:31:45] Information : Prototype the class 'Application::Application' ...
Here is the error in the EW environment. How do I resolve it?
it seems that you have copy-pasted the content of the OnSetLedStatus onset method into the regular method Command(). The onset methods have a default parameter named value. It represents the new assigned value to the property (e.g. to the LedStatus property). In turn, the Command() method (according to the above screenshot) contains two parameter named aParameter1 and aParameter2. As consequence, Embedded Wizard reports an error, because the identifier value is unknown in Command() method.
Does it help you further?
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!