Max32 + WiFi shield + Network shield co exist

Talk about anything you want!
Post Reply
Ian Billing
Posts: 35
Joined: Sun Oct 14, 2012 2:28 pm

Max32 + WiFi shield + Network shield co exist

Post by Ian Billing » Sun May 25, 2014 4:46 am

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

Post Reply