934 views
in Embedded Wizard Studio by

Hello team,

          Whether the contents of the embedded wizard software can be fully presented on the target board?

          In the embedded wizard,I only press KEYA,it can change yellow,

         In the target board(hardware),

         (This is the message I received in the serial port )As you can see, (Key A) instructions have been received,But it doesn't change yellow.

         And where is my problem ?  embedded wizard or my hardware?

      

Best regards,

Tonny

1 Answer

0 votes
by
Hello Tonny,

if your application and the key handling is running fine within the Prototyper, I assume that maybe the problem is related to the key insertion within your main loop.

Can you post the code snippet where you detect that the hardware button is pressed (and released) and how you convert that into a CoreKeyCode?

Best regards,

Manfred,
by

Hello Manfred,

       I tried to run step by step, it can return CoreKeyCodeKeyS.(And now I'm using  keyS )

     I can do other things the same way, but I can't change the color .Other returns will see the effect ,Only can not operate it to change color .

What's the reason ?

Best regards,

Tonny

by
Can you upload your entire ewmain.c file - then I will have a look on it.

Best regards,

Manfred.
by
Hello Manfred,

    Oh,Thank you for your kindness, because I changed too much code, very different from the original code, for example, I will pass the value into some of the ewmain.c file, I will study myself again.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

...