Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Patch for http://arduino.cc/forum/index.php/topic,85342.msg677517.htm…

  • Loading branch information...
commit 96b132ac34f7038051f611a655ca4bfa240474d3 1 parent 87eaf2d
@Alkarex authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 libraries/Ethernet/utility/w5100.cpp
View
4 libraries/Ethernet/utility/w5100.cpp
@@ -30,7 +30,9 @@ void W5100Class::init(void)
SPI.begin();
initSS();
- writeMR(1<<RST);
+ writeMR(1<<RST); //Issue a software reset to the W5100 chip.
+ delay(100); //Wait for the chip to physically reset (it takes 10ms but manufacturer request 100ms).
+ //Continue with the setup of the internal registers:
writeTMSR(0x55);
writeRMSR(0x55);
Please sign in to comment.
Something went wrong with that request. Please try again.