I am trying to combine an Adafruit light sensor working with wire.h with a enc28j60 ethernet chip via the Ethercard Library on a due.
both sensor and card work fine independently. so the enc code correctly posts to my local server via a php script. however, if I add the code for the light sensor and the Wire library, which works well in a separate test program, the sensor is recognized and read, but the enc stops does not communicate anymore to the server - apparently no package gets out.
has anyone come across incompatibilities of the wire and the Ethercard libraries ? memory requirements does not seem to be the problem - that I checked.