| | Start_process problem
|
| Hi When I try to start a process , the code downloads fine , it runs on the board with no errors but it only excutes the first proceess once and none of the others. void main() { start_process(fwrd()); start_process(checkir()); (...) (25 years ago, 15-Oct-99, to lugnet.robotics.handyboard)
| | | | Re: Start_process problem
|
| alex, each of your processes must be an indefinite loop. otherwise starting them up via start_process just runs through once. so, e.g.: void checkir() { while (1) { if (digital(4)) { /* go backward for some time */ /* turn a little */ /* go forward (...) (25 years ago, 15-Oct-99, to lugnet.robotics.handyboard)
| |