AnsweredAssumed Answered

How can i use to initialize for one-time execute code?

Question asked by Byeongjin Kim on May 31, 2017
Latest reply on Jun 1, 2017 by dumitru-daniel.popa

I want to initialization code for one-time execute.

 

example)

main()

{

   --initialization---

   a = port input value (port input at power-on)

  ---------------------

   while(1)

   {

      b = current port input value

      if (a ~= b)

      {~~~~~~~

      }

   }

}

 

how can i use to one time execute code?

Outcomes