-
Notifications
You must be signed in to change notification settings - Fork 264
Webduino webserver hanging after a short period fixed by disabling the SD card
While starting to use the Webduino the webserver stopped working after a short periode. After a few day's searching and trying decided to stop and look for an other library. I then found a tip on internet to disable the SD card. If there is a memmory card in the SD slot the ethernet library will hang frequently. So its not an Webduino issue but because the dependancy of the Etnernet library you will get stucked.
After disabeling the SD card things ran much better.
void setup()
{
// disable the SD card by switching pin 4 high
// not using the SD card in this program, but if an SD card is left in the socket,
// it may cause a problem with accessing the Ethernet chip, unless disabled
pinMode(4, OUTPUT);
digitalWrite(4, HIGH);
}
MORE investigation is required Ex: SD-card WebServer