1.4k views
in Embedded Wizard Studio by

Hello Steam,

        I have some problem.

1.You can see the code: trace Slider.CurrentValue;    Why print the results twice for each transfer?so Is it because of this reason that I also increased the number of serial port printing?you can find:

How can I solve this problem?I just need to print it once..

2. in the picture 1: 

I know this is decimal code .  but you can find i printf("    %x      ") in the picture 2.

Application::Device1.CommandPrint_parameter ( 065792+Slider.CurrentValue);  ------>   hexadecimal :0x10100

but if i want to print the hexadecimal directly.    in the embedded wizard code ,How should I switch?

my purpose:          Application::Device1.CommandPrint_parameter ( 10100+Slider.CurrentValue);     ------->   printf: 10100   or  10101

Best regards,

Tonny

                       

1 Answer

0 votes
by
Hello Team,

         I've settled it .Thank you very much.

Best regards,

Tonny

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

...