oelinsin / rogue-code

Automatically exported from code.google.com/p/rogue-code
0 stars 0 forks source link

ummc.sync has no timeout - Arduino RogueSD library #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
ummc.sync() - and presumably the sync on the rMP3 and uMP3 - will halt code if 
a sync is not successful (no device present).

A timout with error would be handy especially if people are stingy with 
debugging info in their code.

Original issue reported on code.google.com by mowc...@yahoo.co.uk on 3 Jan 2011 at 11:09

GoogleCodeExporter commented 8 years ago
I've been thinking about adding this.  It's low priority since the 
communications between the RogueSD device and host are generally half-duplex.

This deserves attention, though, since the sync() method essentially is trying 
to see if the device exists.  So if sync() fails, the host can assume that the 
device doesn't exist and continue other tasks.

Original comment by rogue.bh...@gmail.com on 4 Jan 2011 at 6:01