This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Issue "If condition" whithin "For Loop"

i have this situation with If condition

unsigned int i;
                char hihi = 0x7b;
                char hihi2 = hihi;
                for(i = 0; i < 20; i++)
                        {
                        if(hihi == hihi2)
                        {
                                Mt1_Out = 1;
                        }
                        else
                        {
                                Mt2_Out = 1;
                        }
                }

When debug and simulate, the code in "true clause" (Mt1_Out = 1) is not performed even the if condition is true,

Can you help me handle thí?