Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Update on Robert 's 1wire port with the LPC2138

2006-04-11 by ocnek1

Yes, I am using the newlib com functions.  com2 to be exact. 
Following through the code I now realized that I was already using the
"polled" functions and not the interrupt.  Putting in some test code,
it seems to get stuck in the "gets()" function (Does not return)

Now would / does the gets() function endlessly wait until it gets a
character or should it return if there is nothing to get.

I would assume that it would return no matter what, and that kind of
leaves a sinking feeling that there may be something wrong with newlib.


j.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.