 | | Serial Com.
|
| The FAQ has information on sending and receiving info thru the serial port. My Question is: How do I do the other end in C. This is what I got the computer side of the serial cable: port = open("/dev/ttyS3",O_RDWD); <- THis is from my head, not (...) (30 years ago, 16-Jul-96, to lugnet.robotics.handyboard)
| | |  | | Re: sony ir
|
| Dirk, Without actually seeing your icb function, it would be hard to determine exactly what is going on. But here are some guesses: 1) When you are modifying control registers in MC, make sure that you use bit commands so that you don't set or erase (...) (30 years ago, 16-Jul-96, to lugnet.robotics.handyboard)
| | |  | | sony ir
|
| Thanks to Joeo for the hints on caputuring data from the handyboard. I have another question: Why does my sony infrared system stop working after calling a function which I have defined in an icb file? I have a number of functions defined in that (...) (30 years ago, 15-Jul-96, to lugnet.robotics.handyboard)
| | |  | | strange encoder problem
|
| I'm using a hall effect sensor as a shaft encoder. 8 magnets have been placed on a wheel of my bot, such that they turn the sensor on and off as they pass by. I have written a small program to test the encoder, which makes the robot go forward 10 (...) (30 years ago, 15-Jul-96, to lugnet.robotics.handyboard)
| | |  | | Re: HB
|
| HI Check for a short between pin 11 of the 'hc374 and +5V. Pin 11 is supposed to be connected to pin 9 of the 'hc138. It is the select line for the 8 flip-flops in the 374. If you have a logic probe, check either of these pins. They should be (...) (30 years ago, 15-Jul-96, to lugnet.robotics.handyboard)
| |