Code: Select all
/ default module option - user options will override these values...
#if IsOption(ENC28J60_RST) And Not IsValidPortPin(ENC28J60_RST)
#error ENC28J60_RST, "Invalid option. RST must be a valid port pin."
#endif
#option ENC28J60_RST = PORTB.5
#if IsOption(ENC28J60_CS) And Not IsValidPortPin(ENC28J60_CS)
#error ENC28J60_CS, "Invalid option. CS must be a valid port pin."
#endif
#option ENC28J60_CS = PORTB.3
.Waiting for DHCP...
MAC Address : $FF $FF $FF $FF $FF $FF
IP address : 192.168.1.5
Mask : 255.255.255.0
Gateway : 192.168.1.1
Has anyone else tried this module with the Microchip development boards? I can't seem to get the MAC address to work correctly. Could this be why I also can not get the EthernetSMTP to display any output to hyperterm? I'm just starting with Ethernet so any help would be greatly appreciated.