UdpSendReceive: WT32-ETH01

Bonjour à Tous;
J'essaye d'utiliser l'exemple 'UdpSendReceive' de la bibliothèque 'WebServer_WT32_ETH01' pour créer un serveur dans le module WT32-ETH01 qui écoutera des trames et enverra aussi. sauf que dans la compilation j'ai l'erreur suivante:
exit status 1
no matching function for call to 'ETHClass::begin(int, int)'

Merci pour votre aide.

if you use ESP32 platform version 3, try my new EthernetESP32 library with the WebServer library bundled with the ESP32 platform. there is an example (change it ti use EMACDriver driver(ETH_PHY_LAN8720);):

the ESP32-ETH01 using EthernetESP32 library the example File>Examples>EthernetESP32>HelloServer.ino works ok with the following constructor

//  EMACDriver(EthPhyType phyType, int mdcPin = 23, int mdioPin = 18, int powerPin = -1, emac_rmii_clock_gpio_t clockPin = EMAC_APPL_CLK_OUT_GPIO, emac_rmii_clock_mode_t clockMode = EMAC_CLK_EXT_IN);
EMACDriver driver(ETH_PHY_LAN8720, 23, 18, 16);   // note powerPin = 16 required

serial monitor displays

Initialize Ethernet with DHCP:
  DHCP assigned IP 192.168.1.66
MDNS responder started
HTTP server started

and Firefox web client displays
image

something is missing in your replay

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.