chipKIT® Development Platform

Inspired by Arduino™

Max32 + WiFi shield + Network shield co exist

Created Sun, 25 May 2014 03:46:12 +0000 by Ian Billing


Ian Billing

Sun, 25 May 2014 03:46:12 +0000

Max32 + WiFi + Network shield

I have got the PHY installed and working well and I have the wifi shield installed and working well but am trying to have my sketch connect to ethernet via PHY (8270) in the absence of the wifi shield. Is there a way to have the different required libraries co exist in one sketch and switch which one to use depending on the detection of the wifi shield?

On my board the PHY will always be there but the wifi module may or may not be plugged in.

So far, form what I can see, it looks like I need to have two different compilations of my sketch – one for wifi and one for PHY 8270, which is not so great