MY_SOFTSPI in MySensors 2.0 clashes with built-in Arduino SD-Card Library
jordan last edited by
Here is how to reproduce the problem:
- Latest (as of this write-up; SD Built-In by Arduino, Sparkfun 1.08) standard SD Card library from Arduino.
- Latest MySensors libraries (2.0.0).
Try to compile the following sketch:
The following error is reported:
DigitalPin.h:41:8: error: redefinition of 'struct pin_map_t'
Maybe something should be conditionally included inside MySensors.h or thereafter within.
Otherwise, most likely it will clash with other libraries that include the same thing(s).