Problem with Arduino + W5100 + two sensors

Hello

My project concerns an 18SB20 probe + a passage probe with transfer to Cayenne

When I do the 2 separate programs, no problem
when I make the program with the 2 probes, impossible to compile the program

I don’t really understand the system for writing the program with the "Virtual_Channel

Could you help me ?

/*
Program
Cayenne DS18B20 Example

*/
#define CAYENNE_PRINT Serial // Comment this out to disable prints and save space
#include <OneWire.h>
#include <DallasTemperature.h>
#include <CayenneMQTTEthernet.h>

// Cayenne authentication info. This should be obtained from the Cayenne Dashboard.
char username = “3f12e5f0-b73d-11e6-b51c-abe30c418779”;
char password = “388d4c05edd69614cb7f6438685a3cdfcb3643d2”;
char clientID = “7a3e8260-42cc-11ea-84bb-8f71124cfdfb”;

#define VIRTUAL_CHANNEL
#define VIRTUAL_PIN_SENSOR 2
#define SENSOR_PIN 2 // Do not use digital pins 0 or 1 since those conflict with the use of Serial.
OneWire oneWire(SENSOR_PIN);
DallasTemperature sensors(&oneWire);

#define SENSOR2_PIN 5 // Do not use digital pins 0 or 1 since those conflict with the use of Serial.

// variables will change:

void setup()
{
Serial.begin(9600);
Cayenne.begin(username, password, clientID);
sensors.begin();
}
void loop()
{
Cayenne.loop();
}

// This function is called at intervals to send sensor data to Cayenne.
CAYENNE_OUT(VIRTUAL_CHANNEL)
{
// Send the command to get temperatures.
sensors.requestTemperatures();
// This command writes the temperature in Celsius to the Virtual Channel.
Cayenne.celsiusWriteVIRTUAL_CHANNEL, sensors.getTempCByIndex(0));
}

CAYENNE_OUT_2(VIRTUAL_CHANNEL)
{
// Read data from the sensor and send it to the virtual channel here.
// For example, to send a digital value you can use the following:
int value = digitalRead(SENSOR2_PIN);
Cayenne.virtualWrite(VIRTUAL_CHANNEL, value, TYPE_DIGITAL_SENSOR, UNIT_DIGITAL);
}

\ardu_cayenne_cave_1\ardu_cayenne_cave_1.ino: In function ‘void OutputHandler(Request&)’:

ardu_cayenne_cave_1:44:11: error: ‘class CayenneMQTTEthernetClient’ has no member named ‘celsiusWriteVIRTUAL_CHANNEL’

\ardu_cayenne_cave_1.ino: In function ‘void OutputHandlerVIRTUAL_CHANNEL(Request&)’:

ardu_cayenne_cave_1:52:39: error: expected primary-expression before ‘,’ token

exit status 1
‘class CayenneMQTTEthernetClient’ has no member named ‘celsiusWriteVIRTUAL_CHANNEL’

change to

CAYENNE_OUT(VIRTUAL_CHANNEL_2)

or you can just directly use the virtual channel number.

CAYENNE_OUT(1)
CAYENNE_OUT(2)

Hello
Thank you for your response, but I must have another problem with a library, because I cannot compile the cayenne 18SB20 sample program.
I downloaded all the basic libraries, but unable to compile,
Here are the errors
thank you in advance

Arduino : 1.8.11 (Windows 10), Carte : “Arduino Uno”

Alternatives for OneWire.h: [OneWire@2.3.5]
ResolveLibrary(OneWire.h)
→ candidates: [OneWire@2.3.5]
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “C:\Users\gille\AppData\Local\Temp\arduino_build_833858\sketch\sketch_feb04a.ino.cpp” -o nul
Alternatives for DallasTemperature.h: [dallastemperaturecontrol]
ResolveLibrary(DallasTemperature.h)
→ candidates: [dallastemperaturecontrol]
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “-IC:\Program Files (x86)\Arduino\libraries\dallastemperaturecontrol” “C:\Users\gille\AppData\Local\Temp\arduino_build_833858\sketch\sketch_feb04a.ino.cpp” -o nul
Alternatives for CayenneMQTTEthernet.h: [CayenneMQTT@1.3.0 Cayenne-MQTT-Arduino-master@1.3.0]
ResolveLibrary(CayenneMQTTEthernet.h)
→ candidates: [CayenneMQTT@1.3.0 Cayenne-MQTT-Arduino-master@1.3.0]
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “-IC:\Program Files (x86)\Arduino\libraries\dallastemperaturecontrol” “-IC:\Program Files (x86)\Arduino\libraries\Cayenne-MQTT-Arduino-master\src” “C:\Users\gille\AppData\Local\Temp\arduino_build_833858\sketch\sketch_feb04a.ino.cpp” -o nul
Alternatives for Ethernet.h: [Ethernet@2.0.0]
ResolveLibrary(Ethernet.h)
→ candidates: [Ethernet@2.0.0]
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “-IC:\Program Files (x86)\Arduino\libraries\dallastemperaturecontrol” “-IC:\Program Files (x86)\Arduino\libraries\Cayenne-MQTT-Arduino-master\src” “-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src” “C:\Users\gille\AppData\Local\Temp\arduino_build_833858\sketch\sketch_feb04a.ino.cpp” -o nul
Alternatives for SPI.h: [SPI]
ResolveLibrary(SPI.h)
→ candidates: [SPI]
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “-IC:\Program Files (x86)\Arduino\libraries\dallastemperaturecontrol” “-IC:\Program Files (x86)\Arduino\libraries\Cayenne-MQTT-Arduino-master\src” “-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src” “-IC:\Program Files (x86)\Arduino\libraries\SPI” “C:\Users\gille\AppData\Local\Temp\arduino_build_833858\sketch\sketch_feb04a.ino.cpp” -o nul
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “-IC:\Program Files (x86)\Arduino\libraries\dallastemperaturecontrol” “-IC:\Program Files (x86)\Arduino\libraries\Cayenne-MQTT-Arduino-master\src” “-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src” “-IC:\Program Files (x86)\Arduino\libraries\SPI” “C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp” -o nul
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “-IC:\Program Files (x86)\Arduino\libraries\dallastemperaturecontrol” “-IC:\Program Files (x86)\Arduino\libraries\Cayenne-MQTT-Arduino-master\src” “-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src” “-IC:\Program Files (x86)\Arduino\libraries\SPI” “C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp” -o nul
Using cached library dependencies for file: C:\Program
Using cached library dependencies for file: C:\Program
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “-IC:\Program Files (x86)\Arduino\libraries\dallastemperaturecontrol” “-IC:\Program Files (x86)\Arduino\libraries\Cayenne-MQTT-Arduino-master\src” “-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src” “-IC:\Program Files (x86)\Arduino\libraries\SPI” “C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp” -o nul
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “-IC:\Program Files (x86)\Arduino\libraries\dallastemperaturecontrol” “-IC:\Program Files (x86)\Arduino\libraries\Cayenne-MQTT-Arduino-master\src” “-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src” “-IC:\Program Files (x86)\Arduino\libraries\SPI” “C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility\w5100.cpp” -o nul
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “-IC:\Program Files (x86)\Arduino\libraries\dallastemperaturecontrol” “-IC:\Program Files (x86)\Arduino\libraries\Cayenne-MQTT-Arduino-master\src” “-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src” “-IC:\Program Files (x86)\Arduino\libraries\SPI” “C:\Program Files (x86)\Arduino\libraries\SPI\SPI.cpp” -o nul
Generating function prototypes…
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “-IC:\Program Files (x86)\Arduino\libraries\dallastemperaturecontrol” “-IC:\Program Files (x86)\Arduino\libraries\Cayenne-MQTT-Arduino-master\src” “-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src” “-IC:\Program Files (x86)\Arduino\libraries\SPI” “C:\Users\gille\AppData\Local\Temp\arduino_build_833858\sketch\sketch_feb04a.ino.cpp” -o “C:\Users\gille\AppData\Local\Temp\arduino_build_833858\preproc\ctags_target_for_gcc_minus_e.cpp”
“C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags” -u --language-force=c++ -f - --c+±kinds=svpf --fields=KSTtzns --line-directives “C:\Users\gille\AppData\Local\Temp\arduino_build_833858\preproc\ctags_target_for_gcc_minus_e.cpp”
Compilation du croquis…
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “-IC:\Program Files (x86)\Arduino\libraries\dallastemperaturecontrol” “-IC:\Program Files (x86)\Arduino\libraries\Cayenne-MQTT-Arduino-master\src” “-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src” “-IC:\Program Files (x86)\Arduino\libraries\SPI” “C:\Users\gille\AppData\Local\Temp\arduino_build_833858\sketch\sketch_feb04a.ino.cpp” -o “C:\Users\gille\AppData\Local\Temp\arduino_build_833858\sketch\sketch_feb04a.ino.cpp.o”
Compiling libraries…
Compiling library “OneWire”
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\OneWire\OneWire.cpp.o
Compiling library “dallastemperaturecontrol”
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\dallastemperaturecontrol\DallasTemperature.cpp.o
Compiling library “Cayenne-MQTT-Arduino-master”
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Cayenne-MQTT-Arduino-master\CayenneHandlers.cpp.o
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Cayenne-MQTT-Arduino-master\CayenneMQTTClient\MQTTClient.c.o
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Cayenne-MQTT-Arduino-master\CayenneMQTTClient\CayenneMQTTClient.c.o
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Cayenne-MQTT-Arduino-master\CayenneUtils\CayenneUtils.c.o
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Cayenne-MQTT-Arduino-master\CayenneUtils\CayenneDataArray.c.o
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Cayenne-MQTT-Arduino-master\MQTTCommon\MQTTSerializePublish.c.o
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Cayenne-MQTT-Arduino-master\MQTTCommon\MQTTConnectClient.c.o
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Cayenne-MQTT-Arduino-master\MQTTCommon\MQTTPacket.c.o
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Cayenne-MQTT-Arduino-master\MQTTCommon\MQTTDeserializePublish.c.o
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Cayenne-MQTT-Arduino-master\MQTTCommon\MQTTSubscribeClient.c.o
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Cayenne-MQTT-Arduino-master\MQTTCommon\MQTTUnsubscribeClient.c.o
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Cayenne-MQTT-Arduino-master\Platform\Arduino\MQTTArduino.cpp.o
Compiling library “Ethernet”
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “-IC:\Program Files (x86)\Arduino\libraries\dallastemperaturecontrol” “-IC:\Program Files (x86)\Arduino\libraries\Cayenne-MQTT-Arduino-master\src” “-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src” “-IC:\Program Files (x86)\Arduino\libraries\SPI” “C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp” -o “C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Ethernet\EthernetClient.cpp.o”
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Ethernet\Dhcp.cpp.o
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “-IC:\Program Files (x86)\Arduino\libraries\dallastemperaturecontrol” “-IC:\Program Files (x86)\Arduino\libraries\Cayenne-MQTT-Arduino-master\src” “-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src” “-IC:\Program Files (x86)\Arduino\libraries\SPI” “C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp” -o “C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Ethernet\Ethernet.cpp.o”
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Ethernet\EthernetServer.cpp.o
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Ethernet\Dns.cpp.o
“C:\Users\gille\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino” “-IC:\Users\gille\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\variants\standard” “-IC:\Program Files (x86)\Arduino\libraries\OneWire” “-IC:\Program Files (x86)\Arduino\libraries\dallastemperaturecontrol” “-IC:\Program Files (x86)\Arduino\libraries\Cayenne-MQTT-Arduino-master\src” “-IC:\Program Files (x86)\Arduino\libraries\Ethernet\src” “-IC:\Program Files (x86)\Arduino\libraries\SPI” “C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp” -o “C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Ethernet\socket.cpp.o”
Utilisation du fichier déjà compilé : C:\Users\gille\AppData\Local\Temp\arduino_build_833858\libraries\Ethernet\EthernetUdp.cpp.o
C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp: In static member function ‘static int EthernetClass::begin(uint8_t*, long unsigned int, long unsigned int)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:36:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:36:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:39:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:46:7: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

   ^~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:50:7: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

   ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp: In static member function ‘static void EthernetClass::begin(uint8_t*, IPAddress, IPAddress, IPAddress, IPAddress)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:84:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:84:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:95:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static uint8_t EthernetClass::socketBegin(uint8_t, uint16_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:74:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:74:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp: In static member function ‘static int EthernetClass::maintain()’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:137:8: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

    ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:137:25: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                     ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:98:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:141:8: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

    ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:122:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp: In static member function ‘static void EthernetClass::MACAddress(uint8_t*)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:155:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:155:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static uint8_t EthernetClass::socketBeginMulticast(uint8_t, IPAddress, uint16_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:138:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:138:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:157:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp: In static member function ‘static IPAddress EthernetClass::localIP()’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:163:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:162:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:163:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:194:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static uint8_t EthernetClass::socketStatus(uint8_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:201:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:201:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:165:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp: In static member function ‘static IPAddress EthernetClass::subnetMask()’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:172:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:172:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:203:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static void EthernetClass::socketClose(uint8_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:212:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:212:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:214:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static uint8_t EthernetClass::socketListen(uint8_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:222:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:222:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:224:7: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

   ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:228:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static void EthernetClass::socketConnect(uint8_t, uint8_t*, uint16_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:238:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:238:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:242:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static void EthernetClass::socketDisconnect(uint8_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:251:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:251:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp: In member function ‘virtual uint16_t EthernetClient::localPort()’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp:185:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:253:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp:24:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp:185:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static int EthernetClass::socketRecv(uint8_t, uint8_t*, int16_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:308:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:308:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp:187:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:345:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static uint16_t EthernetClass::socketRecvAvailable(uint8_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:354:7: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

   ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:354:24: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                    ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:174:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp: In static member function ‘static IPAddress EthernetClass::gatewayIP()’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:181:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:181:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:356:7: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

   ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static uint8_t EthernetClass::socketPeek(uint8_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:369:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:369:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:183:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp: In member function ‘void EthernetClass::setMACAddress(const uint8_t*)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:189:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:189:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:372:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static uint16_t EthernetClass::socketSend(uint8_t, const uint8_t*, uint16_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:436:7: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

   ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:436:24: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                    ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:191:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp: In member function ‘void EthernetClass::setLocalIP(IPAddress)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:196:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:196:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp: In member function ‘virtual IPAddress EthernetClient::remoteIP()’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp:197:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp:24:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp:197:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:199:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp: In member function ‘void EthernetClass::setSubnetMask(IPAddress)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:204:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:204:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp:199:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:207:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp: In member function ‘void EthernetClass::setGatewayIP(IPAddress)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:212:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp: In member function ‘virtual uint16_t EthernetClient::remotePort()’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp:209:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:212:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp:24:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp:209:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\EthernetClient.cpp:211:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:215:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp: In member function ‘void EthernetClass::setRetransmissionTimeout(uint16_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:221:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:221:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:223:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp: In member function ‘void EthernetClass::setRetransmissionCount(uint8_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:228:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:228:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:439:7: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

   ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:448:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:448:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\Ethernet.cpp:230:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:456:8: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

    ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:459:7: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

   ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:461:7: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

   ^~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:465:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static uint16_t EthernetClass::socketSendAvailable(uint8_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:473:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:473:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:476:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static uint16_t EthernetClass::socketBufferData(uint8_t, uint16_t, const uint8_t*, uint16_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:487:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:487:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:495:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static bool EthernetClass::socketStartUDP(uint8_t, uint8_t*, uint16_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:505:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:505:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:508:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp: In static member function ‘static bool EthernetClass::socketSendUDP(uint8_t)’:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:514:6: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

  ^~~~~~~~~~~~~~~~

In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:23:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility/w5100.h:21:31: error: ‘SPISettings’ was not declared in this scope

#define SPI_ETHERNET_SETTINGS SPISettings(14000000, MSBFIRST, SPI_MODE0)

                           ^

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:514:23: note: in expansion of macro ‘SPI_ETHERNET_SETTINGS’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

                   ^~~~~~~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:522:8: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

    ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:526:7: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

   ^~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:528:7: error: ‘class SPIClass’ has no member named ‘beginTransaction’

SPI.beginTransaction(SPI_ETHERNET_SETTINGS);

   ^~~~~~~~~~~~~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src\socket.cpp:533:6: error: ‘class SPIClass’ has no member named ‘endTransaction’

SPI.endTransaction();

  ^~~~~~~~~~~~~~

Plusieurs bibliothèque trouvées pour “CayenneMQTTEthernet.h”
Utilisé : C:\Program
Non utilisé : C:\Program
Utilisation de la bibliothèque OneWire version 2.3.5 dans le dossier: C:\Program Files
Utilisation de la bibliothèque dallastemperaturecontrol prise dans le dossier : C:\Program Files
Utilisation de la bibliothèque Cayenne-MQTT-Arduino-master version 1.3.0 dans le dossier: C:\Program Files
Utilisation de la bibliothèque Ethernet version 2.0.0 dans le dossier: C:\Program Files
Utilisation de la bibliothèque SPI prise dans le dossier : C:\Program Files
exit status 1
Erreur de compilation pour la carte Arduino Uno

i cannot translate the issue you share, so what i would suggest is, remove all libraries related to the code and start fresh.
First, get the sensor working without the cayenne code. Once done, add the cayenne code.

Hello
Thank you, you are right, I gave all the new library, and now it works

thank you

2 Likes