Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
881 Views

Restarting sketch

Jump to solution

Hi,

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

Thanks in advance

0 Kudos

Accepted Solutions
Highlighted
Employee
7 Views

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.

View solution in original post

1 Reply
Highlighted
Employee
8 Views

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.

View solution in original post