Hello,
I'm working with the Arduino 101, and am in the position where I need to create sketches that are compatible with both the 1.0.4 and 1.0.5 Curie board libraries, as 1.0.5 doesn't work on some people's systems because they are USB 3 only. See Core 1.0.5 released - Arduino 101 - Arduino Forum
bzn9:
Core 1.0.5 works out of the box for my USB2.0 ports, however I do get the MASTER RESET error from USB3 ports. Issue seem to follow the ports consistently. Previous version 1.0.4 worked from both USB 3 and USB 2 ports.
Since switching between the two would require including either "CurieImu.h" or "CurieIMU.h", I'd imagine this would require the use of an #ifdef.
I'm looking to leave the Curie libraries untouched.
Is there a way to programmatically determine which of the two libraries is installed?
Thanks in advance.