Hi.
With a Raspberry Pico W - arduino, can I define the same "client" object for both Wifi and EthernetENC so that I can write the same command client.connect , client.write ...?
(at a time only wifi or eth is connected)
Many thanks.
Doubtful. WiFi and Ethernet are separate and different pieces of hardware requiring different libraries for accessing them, and use of their respective objects and methods for establishing a connection and writing to them.
if you can make the lwip_enc28j60 library bundled with the Pico Core work
Maybe I didn't say well, my english is not ok.
At the moment I have that, and it works.
EthernetClient E_client;
WiFiClient W_client;
Can I have only one "client" object?
yes. it should use the right route, but I am not sure if the implementation in Pico Core will do it. but it should so if not, it can be fixed I guess
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.