To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / *6775 (-5)
  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)
 
  re: start_process problem
 
My suggestion is to double check that you double check the simple things withing the code (your code should be executing an infinite loop) while(1) { code .... } If the code is more complex and involves external assembly modules, check that they (...) (25 years ago, 15-Oct-99, to lugnet.robotics.handyboard)
 
  Data acquisition through analog input
 
-- MIME ATTACHMENTS DISCARDED: 1. Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: base64 Content-Length: 297 2. Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: base64 Content-Length: 1408 (25 years ago, 15-Oct-99, to lugnet.robotics.handyboard)
 
  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: NEW POWER SUPPLY
 
I think you win the prize for the best solution Giang! - Nick - (...) (25 years ago, 14-Oct-99, to lugnet.robotics.handyboard)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR