| | 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)
|
|
| | Re: NEW POWER SUPPLY
|
|
What about this idea? Cut the motor trace as per on Fred's website....than desolder the motor power header (the one that plug into the Handy board) on the expansion board and flip the header upward and resolder it to the expansion board. Then reuse (...) (25 years ago, 14-Oct-99, to lugnet.robotics.handyboard)
|
|
| | Re: NEW POWER SUPPLY
|
|
That is the same thing, except much easier. Plus we save donut money. However, we'd have to look at the effect of 7 volts reverse bias on the motor LED's. Plus, we'd have to make real sure not to short the bent pin 8 to the socket underneath it. (...) (25 years ago, 14-Oct-99, to lugnet.robotics.handyboard)
|
|
| | Re: NEW POWER SUPPLY
|
|
Great solution Gary! How about just pulling the L293D/SN754410 from the U11 socket, bending pin-8 out and soldering the REALLY BIG battery positive lead to it, then soldering the negative lead to pin-1 without bending it out, and then reinstalling (...) (25 years ago, 14-Oct-99, to lugnet.robotics.handyboard)
|
|
| | Re: NEW POWER SUPPLY
|
|
This was explained a week or two ago here on the list server. Check back and you'll find out what traces to cut, etc. However, I have found another way that is very simple, and does not require you to make difficult-to-fix cuts on your boards. Just (...) (25 years ago, 14-Oct-99, to lugnet.robotics.handyboard)
|
|
| | NEW POWER SUPPLY
|
|
I NEED TO KNOW THE EXACT STEPS TO CONNECT A NEW MOTOR POWER SUPPLY TO THE HANDYBOARD WHILE IS HAS THE EXTENSION BOARD CONNECTED TO IT. IT'S TO MY UNDERSTANDING THAT THE EXTENSION BOARD SHARES THE SAME SLOT AS THE NEW MOTOR POWER SUPPLY, IS THE ANY (...) (25 years ago, 14-Oct-99, to lugnet.robotics.handyboard)
|