From 64e57e41a2c9e2d4188243ee3ead5c951f8a0573 Mon Sep 17 00:00:00 2001 From: Flavien Haas Date: Wed, 2 May 2018 09:19:53 +0200 Subject: [PATCH] added commentary --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d6e657f..7328d0c 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,6 @@ Gateway between a weather MicroStation using LoRa modulation and a web server. T ## Attention ! Because we're using two arduino shields using SPI communication, we need to select a chip select for each shield. I decided to use D11 for the Ethernet shield (10 for the LoRa, 4 for the SD). -To do this, edit w5100.h in the default ethernet librairy in the installation folder of your arduino IDE (on windows, in administrator mode ‪C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility\w5100.h). +To do this, edit w5100.h in the default ethernet librairy in the installation folder of your arduino IDE (on windows, in administrator mode ‪C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility\w5100.h) + +On this case, you need to change this line ``` #define ETHERNET_SHIELD_SPI_CS 10 ``` to ``` #define ETHERNET_SHIELD_SPI_CS 11 ``` \ No newline at end of file