288 views
in GUI Development by
Hello

How is possible to use widgets or gauges on display when necessary to use float type?

Thx

1 Answer

0 votes
by

Hello,

the provided widgets are optimized to not use float arithmetic, which is not always very efficient on an embedded system. You have two possibilities how to deal with float values:

Option 1: You use the provided widgets. However, you take care of the float - integer conversion every time you query or modify the values stored in the widget.

Option 2: You create your own widgets able to directly store and calculate with float values. You can use for this purpose the provided component templates.

I hope it helps you further.

Best regards

Paul Banach

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!

Embedded Wizard Website | Privacy Policy | Imprint

...