544 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 - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...