1k 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

Embedded Wizard Website | Privacy Policy | Imprint

...