You are going about this with blinders on. Unless you are writing baremetal or 
kernel code (which most of the languages you listed are not really targeted 
toward), you should be asking about writing to serial devices.

You are on Linux and the Linux interfaces for serial ports (which UARTs are) 
are pretty much the same on all platforms (be it PC or or the Beagle's). In a 
nutshell, they appears as a character device. So what you should be 
researching is how to program a serial character device in Linux (or Unix). 
Depending the level of control you need, it can range from as simple as 
writing to stdout and redirecting to opening up special files and issuing 
ioctls.

Once again, if you take off the blinders, the answer to physically 
disconnected "uarts" would make more sense. Consider SPP on Bluetooth wireless 
which shares the same programming interface as any other serial port.

On Tuesday, January 19, 2016 09:01:41 Michael Williams wrote:
> I have a few questions regarding the UARTs on the Beaglebone Black & Green.
> 
> What is a good resource for writing programs for the uarts? Which
> programming language would be the best to write uart applications in C++,
> Python, or Java?
> 
> Is it possible to send data between the uarts without them being physically
> connected?
> 
> Thank you in advance for your help.
> 
> Mike

-- 
Hunyue Yau
http://www.hy-research.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to