Based upon your suggestions, I made a demo that I plan to use as a basis 
for my next project. Comments/suggestions welcome. It is here: 
https://github.com/ksmiller99/HelloIOIOUart

On Wednesday, October 5, 2016 at 5:52:25 PM UTC-4, Kevin Miller wrote:
>
> I'm connecting a IOIO to a hobbyist robot which also has a UART. I plan to 
> use the IOIOService because there will be other sensors attached to the 
> IOIO by UART and I want to be able to handle I/O in a timely manner. Is 
> there a full, simple example of using a UART (or 2) in a service? I have 
> several questions:
>
> 1. If there is a temporary loss of connection, say a Bluetooth hiccup, 
> what disconnected() do with the UARTs? There may be data in the buffers, 
> will it be lost? Will the uart created by openUart() be 
> destroyed/undefined? Should the setup() skip openUart() if it was opened in 
> a previous setup()?
>
> Thanks,
> Kevin
>

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

Reply via email to