513
edits
Line 119: | Line 119: | ||
It could for instance run over and over again in the main loop-function of our program: | It could for instance run over and over again in the main loop-function of our program: | ||
[[File:robot_loop1.jpg | [[File:robot_loop1.jpg]] | ||
Line 144: | Line 144: | ||
The functions return value is saved in the state variable for the next loop. | The functions return value is saved in the state variable for the next loop. | ||
[[File: | [[File:robot_loop2.jpg]] | ||
edits