|
| | Sharp GP2D12
|
| Hi all, I want to use the GP2D12 distance measuring sensor with my handyboard. Does anybody know the pinout details for the three pins? Thanks, Thomas (25 years ago, 29-Jul-99, to lugnet.robotics.handyboard)
| | | | Sharp GP2D12
|
| (25 years ago, 29-Jul-99, to lugnet.robotics.handyboard)
| | | | Re: R: Reading Serial Port
|
| also remember that at 9600 baud or higher, you may not see the flashing of the serial LEDs. try setting the baud rate to 300 or even 110 if you're doing visual-flash debugging. fred In your message you said: (...) (25 years ago, 29-Jul-99, to lugnet.robotics.handyboard)
| | | | Re: Reading Serial Port
|
| It isn't hanging, it's a blocking read until it recieves some specified number of characters. You can use a non blocking read by specifying O_NONBLOCK, in which case read() will return immediately. The Linux serial programming HOWTO is very good, I (...) (25 years ago, 29-Jul-99, to lugnet.robotics.handyboard)
| | | | R: Reading Serial Port
|
| You can try Java comm API, under linux too. (If you want to use java ... :-) Stefano ---...--- | Da: David Boosalis <dboosalis@mail.arc.nasa.gov> | A: handyboard mailist <handyboard@media.mit.edu> | Oggetto: Reading Serial Port | Data: 29 July 1999 (...) (25 years ago, 29-Jul-99, to lugnet.robotics.handyboard)
| |