Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I'm trying to simplify the code for our project by creating a hardware class. I would like to be able to call something like hardware.initNetwork() to initialize the ethernet card and not actually expose the ethernet object. Is there an example of how to do this since there does not seem to be a way to set the IP settings after the ethernetNETIf object is defined.
We use static IPs addresses.