1 Reply Latest reply on Jan 27, 2015 2:59 PM by Intel_Peter

    Restarting sketch

    justRadojko

      Hi,

       

      Is there a way to restart sketch from the sketch itself? Some system call or similar?

       

      Thanks in advance

        • 1. Re: Restarting sketch
          Intel_Peter

          Hello justRadojko,

           

          What I can think of is that you could make a call to system() and reboot, it would look like this:

           

          system("reboot");

           

          All the other methods I've found that uses Arduino, call AVR libraries, which is the architecture of Arduino and therefore, will not work on the Galileo.

           

          Peter.