Arduino:1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)" AMS_V2_3_Blynk:12:59: error: variable or field 'BlynkWidgetWrite2' declared void BLYNK_ATTACH_WIDGET(table, V2); ^ AMS_V2_3_Blynk:12:24: error: 'BlynkReq' was not declared in this scope BLYNK_ATTACH_WIDGET(table, V2); ^~~~~~~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_3_Blynk.ino:12:24: note: suggested alternative: 'BlynkBitRead' BLYNK_ATTACH_WIDGET(table, V2); ^~~~~~~~ BlynkBitRead AMS_V2_3_Blynk:12:71: error: expected primary-expression before 'const' BLYNK_ATTACH_WIDGET(table, V2); ^ AMS_V2_3_Blynk:47:59: error: variable or field 'BlynkWidgetWrite1' declared void BLYNK_WRITE(V1) { ^ AMS_V2_3_Blynk:47:24: error: 'BlynkReq' was not declared in this scope BLYNK_WRITE(V1) { ^ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_3_Blynk.ino:47:24: note: suggested alternative: 'BlynkBitRead' BLYNK_WRITE(V1) { ^ BlynkBitRead AMS_V2_3_Blynk:47:71: error: expected primary-expression before 'const' BLYNK_WRITE(V1) { ^ AMS_V2_3_Displaying:130:60: error: variable or field 'BlynkWidgetWrite52' declared void BLYNK_WRITE(V52) { ^ AMS_V2_3_Displaying:130:25: error: 'BlynkReq' was not declared in this scope BLYNK_WRITE(V52) { ^ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_3_Displaying.ino:130:25: note: suggested alternative: 'BlynkBitRead' BLYNK_WRITE(V52) { ^ BlynkBitRead AMS_V2_3_Displaying:130:72: error: expected primary-expression before 'const' BLYNK_WRITE(V52) { ^ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_1_Main.ino: In function 'void setup()': AMS_V2_1_Main:32:11: error: 'deskRelayPin' was not declared in this scope pinMode(deskRelayPin, OUTPUT); ^~~~~~~~~~~~ AMS_V2_1_Main:33:11: error: 'oledGND' was not declared in this scope pinMode(oledGND, OUTPUT); ^~~~~~~ AMS_V2_1_Main:34:11: error: 'oledVCC' was not declared in this scope pinMode(oledVCC, OUTPUT); ^~~~~~~ AMS_V2_1_Main:37:3: error: 'Blynk' was not declared in this scope Blynk.begin(auth); ^~~~~ AMS_V2_1_Main:37:15: error: 'auth' was not declared in this scope Blynk.begin(auth); ^~~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_1_Main.ino:37:15: note: suggested alternative: 'auto' Blynk.begin(auth); ^~~~ auto AMS_V2_1_Main:38:14: error: 'WDTO_8S' was not declared in this scope wdt_enable(WDTO_8S); ^~~~~~~ AMS_V2_1_Main:38:3: error: 'wdt_enable' was not declared in this scope wdt_enable(WDTO_8S); ^~~~~~~~~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_1_Main.ino:38:3: note: suggested alternative: 'mutable' wdt_enable(WDTO_8S); ^~~~~~~~~~ mutable AMS_V2_1_Main:39:3: error: 'Wire' was not declared in this scope Wire.begin(); ^~~~ AMS_V2_1_Main:40:3: error: 'BMP' was not declared in this scope BMP.beginI2C(); ^~~ AMS_V2_1_Main:41:3: error: 'dht' was not declared in this scope dht.begin(); ^~~ AMS_V2_1_Main:42:3: error: 'lightMeter' was not declared in this scope lightMeter.begin(); ^~~~~~~~~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_1_Main.ino:42:3: note: suggested alternative: 'highByte' lightMeter.begin(); ^~~~~~~~~~ highByte AMS_V2_1_Main:44:3: error: 'encoder' was not declared in this scope encoder.setPosition(1 / ROTARYSTEPS); ^~~~~~~ AMS_V2_1_Main:44:27: error: 'ROTARYSTEPS' was not declared in this scope encoder.setPosition(1 / ROTARYSTEPS); ^~~~~~~~~~~ AMS_V2_1_Main:49:3: error: 'timer2' was not declared in this scope timer2.setInterval(3000L, checkBlynk); ^~~~~~ AMS_V2_1_Main:50:3: error: 'timer' was not declared in this scope timer.setInterval(1000L, myTimerEvent); ^~~~~ AMS_V2_1_Main:51:3: error: 'timer_fast' was not declared in this scope timer_fast.setInterval(1L, routine_fast); ^~~~~~~~~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_1_Main.ino:51:3: note: suggested alternative: 'routine_fast' timer_fast.setInterval(1L, routine_fast); ^~~~~~~~~~ routine_fast AMS_V2_1_Main:52:3: error: 'timer_medium' was not declared in this scope timer_medium.setInterval(100L, routine_medium); ^~~~~~~~~~~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_1_Main.ino:52:3: note: suggested alternative: 'routine_medium' timer_medium.setInterval(100L, routine_medium); ^~~~~~~~~~~~ routine_medium AMS_V2_1_Main:53:3: error: 'timer_slow' was not declared in this scope timer_slow.setInterval(4000L, routine_slow); ^~~~~~~~~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_1_Main.ino:53:3: note: suggested alternative: 'routine_slow' timer_slow.setInterval(4000L, routine_slow); ^~~~~~~~~~ routine_slow C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_1_Main.ino: In function 'void loop()': AMS_V2_1_Main:57:3: error: 'Blynk' was not declared in this scope Blynk.run(); ^~~~~ AMS_V2_1_Main:58:3: error: 'timer' was not declared in this scope timer.run(); ^~~~~ AMS_V2_1_Main:59:3: error: 'timer2' was not declared in this scope timer2.run(); ^~~~~~ AMS_V2_1_Main:60:3: error: 'timer_fast' was not declared in this scope timer_fast.run(); ^~~~~~~~~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_1_Main.ino:60:3: note: suggested alternative: 'routine_fast' timer_fast.run(); ^~~~~~~~~~ routine_fast AMS_V2_1_Main:61:3: error: 'timer_medium' was not declared in this scope timer_medium.run(); ^~~~~~~~~~~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_1_Main.ino:61:3: note: suggested alternative: 'routine_medium' timer_medium.run(); ^~~~~~~~~~~~ routine_medium AMS_V2_1_Main:62:3: error: 'timer_slow' was not declared in this scope timer_slow.run(); ^~~~~~~~~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_1_Main.ino:62:3: note: suggested alternative: 'routine_slow' timer_slow.run(); ^~~~~~~~~~ routine_slow AMS_V2_1_Main:63:3: error: 'wdt_reset' was not declared in this scope wdt_reset(); ^~~~~~~~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_2_Routines.ino: At global scope: AMS_V2_2_Routines:2:1: error: 'BlynkTimer' does not name a type; did you mean 'BlynkBitSet'? BlynkTimer timer_fast; ^~~~~~~~~~ BlynkBitSet AMS_V2_2_Routines:8:1: error: 'BlynkTimer' does not name a type; did you mean 'BlynkBitSet'? BlynkTimer timer_medium; ^~~~~~~~~~ BlynkBitSet AMS_V2_2_Routines:14:1: error: 'BlynkTimer' does not name a type; did you mean 'BlynkBitSet'? BlynkTimer timer_slow; ^~~~~~~~~~ BlynkBitSet C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_2_Routines.ino: In function 'void myTimerEvent()': AMS_V2_2_Routines:20:3: error: 'Blynk' was not declared in this scope Blynk.virtualWrite(V10, DHT_return('T')); ^~~~~ AMS_V2_2_Routines:20:22: error: 'V10' was not declared in this scope Blynk.virtualWrite(V10, DHT_return('T')); ^~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_2_Routines.ino:20:22: note: suggested alternative: 'A10' Blynk.virtualWrite(V10, DHT_return('T')); ^~~ A10 AMS_V2_2_Routines:21:22: error: 'V11' was not declared in this scope Blynk.virtualWrite(V11, DHT_return('H')); ^~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_2_Routines.ino:21:22: note: suggested alternative: 'A11' Blynk.virtualWrite(V11, DHT_return('H')); ^~~ A11 AMS_V2_2_Routines:22:22: error: 'V12' was not declared in this scope Blynk.virtualWrite(V12, BH1750_return()); ^~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_2_Routines.ino:22:22: note: suggested alternative: 'A12' Blynk.virtualWrite(V12, BH1750_return()); ^~~ A12 AMS_V2_2_Routines:23:22: error: 'V20' was not declared in this scope Blynk.virtualWrite(V20, hall_return()); ^~~ In file included from C:\Users\Isaak\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkApi.h:18:0, from C:\Users\Isaak\Documents\Arduino\libraries\Blynk\src/BlynkApiArduino.h:14, from C:\Users\Isaak\Documents\Arduino\libraries\Blynk\src/Adapters/BlynkEthernet.h:24, from C:\Users\Isaak\Documents\Arduino\libraries\Blynk\src/BlynkSimpleEthernet2.h:20, from C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_3_Blynk.ino:4: C:\Users\Isaak\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkHandlers.h: At global scope: C:\Users\Isaak\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkHandlers.h:177:35: error: conflicting declaration of 'void BlynkOnConnected()' with 'C' linkage #define BLYNK_CONNECTED() void BlynkOnConnected() ^ C:\Users\Isaak\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkHandlers.h:228:1: note: in expansion of macro 'BLYNK_CONNECTED' BLYNK_CONNECTED(); ^~~~~~~~~~~~~~~ C:\Users\Isaak\Documents\Arduino\Projects\Arduino IOT Station System\Arduino-IOT-System\Sketches\AMS_V2\AMS_V2_1_Main\AMS_V2_3_Blynk.ino:41:6: note: previous declaration with 'C++' linkage BLYNK_CONNECTED() { ^~~~~~~~~~~~~~ exit status 1 variable or field 'BlynkWidgetWrite2' declared void Dit rapport zou meer informatie bevatten met "Uitgebreide uitvoer weergeven tijden compilatie" optie aan in Bestand -> Voorkeuren.