guess I learned something today.....

On 12/9/06, Dave Hylands <> wrote:
Hi Jon,

> Are any of the robostix's UART's setup to act as a terminal by default?
> Basically if I'm writing code for the robostix and I add a printf()
> somewhere, will that data then be printed to one of the uart's by
> default like the gumstix's console on ffuart? Just to be clear I'm
> referring to the robostix's own uart's..not the ones connected through
> to the gumstix, Cheers.

If you're talking about printf's on the robostix sending data out one
of the robostix uarts then yeah - that's pretty easy to do. The sample
programs do this already. If you look at Flash-LED.c you'll see a
couple of calls to fdevopen. The first call to fdevopen goes to stdin
& stdout and the 2nd one goes to stderr.

You can find out more information about this over here:

Dave Hylands
Vancouver, BC, Canada

Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
gumstix-users mailing list