Arduino: 1.8.13 (Windows 10), Плата:"Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:128KB OTA:~438KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, All Flash Contents, 115200"
In file included from C:\Users\User\Desktop\esp8266_aquarium\esp8266_aquarium.ino:1:0:
include_define.h:18:23: error: 'D3' was not declared in this scope
#define ONE_WIRE_BUS D3 // DS18B20
^
sketch\include_define.h:46:13: note: in expansion of macro 'ONE_WIRE_BUS'
OneWire ds(ONE_WIRE_BUS);
^
C:\Users\User\Desktop\esp8266_aquarium\esp8266_aquarium.ino: In function 'void setup()':
include_define.h:20:23: error: 'D6' was not declared in this scope
#define LEDPIN D6
^
C:\Users\User\Desktop\esp8266_aquarium\esp8266_aquarium.ino:8:11: note: in expansion of macro 'LEDPIN'
pinMode(LEDPIN, OUTPUT);
^
include_define.h:21:23: error: 'D7' was not declared in this scope
#define FANPIN D7
^
C:\Users\User\Desktop\esp8266_aquarium\esp8266_aquarium.ino:9:11: note: in expansion of macro 'FANPIN'
pinMode(FANPIN, OUTPUT);
^
include_define.h:19:23: error: 'D5' was not declared in this scope
#define TENPIN D5
^
C:\Users\User\Desktop\esp8266_aquarium\esp8266_aquarium.ino:10:11: note: in expansion of macro 'TENPIN'
pinMode(TENPIN, OUTPUT);
^
include_define.h:22:23: error: 'D0' was not declared in this scope
#define RELAY1PIN D0
^
C:\Users\User\Desktop\esp8266_aquarium\esp8266_aquarium.ino:11:11: note: in expansion of macro 'RELAY1PIN'
pinMode(RELAY1PIN, OUTPUT);
^
include_define.h:23:23: error: 'D8' was not declared in this scope
#define RELAY2PIN D8
^
C:\Users\User\Desktop\esp8266_aquarium\esp8266_aquarium.ino:12:11: note: in expansion of macro 'RELAY2PIN'
pinMode(RELAY2PIN, OUTPUT);
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino: In function 'void led_schedule()':
include_define.h:20:23: error: 'D6' was not declared in this scope
#define LEDPIN D6
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino:60:19: note: in expansion of macro 'LEDPIN'
analogWrite(LEDPIN, max_night_percent);
^
include_define.h:20:23: error: 'D6' was not declared in this scope
#define LEDPIN D6
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino:67:19: note: in expansion of macro 'LEDPIN'
analogWrite(LEDPIN, val_rassvet);
^
include_define.h:20:23: error: 'D6' was not declared in this scope
#define LEDPIN D6
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino:73:19: note: in expansion of macro 'LEDPIN'
analogWrite(LEDPIN, val_zakat);
^
include_define.h:20:23: error: 'D6' was not declared in this scope
#define LEDPIN D6
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino:76:19: note: in expansion of macro 'LEDPIN'
analogWrite(LEDPIN, max_day_percent);
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino: In function 'void relay_schedule()':
include_define.h:22:23: error: 'D0' was not declared in this scope
#define RELAY1PIN D0
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino:99:20: note: in expansion of macro 'RELAY1PIN'
digitalWrite(RELAY1PIN, LOW);
^
include_define.h:22:23: error: 'D0' was not declared in this scope
#define RELAY1PIN D0
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino:103:20: note: in expansion of macro 'RELAY1PIN'
digitalWrite(RELAY1PIN, HIGH);
^
include_define.h:23:23: error: 'D8' was not declared in this scope
#define RELAY2PIN D8
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino:107:20: note: in expansion of macro 'RELAY2PIN'
digitalWrite(RELAY2PIN, LOW);
^
include_define.h:23:23: error: 'D8' was not declared in this scope
#define RELAY2PIN D8
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino:111:20: note: in expansion of macro 'RELAY2PIN'
digitalWrite(RELAY2PIN, HIGH);
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino: In function 'void temp_fan_regulation()':
include_define.h:21:23: error: 'D7' was not declared in this scope
#define FANPIN D7
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino:119:20: note: in expansion of macro 'FANPIN'
digitalWrite(FANPIN, HIGH);
^
include_define.h:21:23: error: 'D7' was not declared in this scope
#define FANPIN D7
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino:122:20: note: in expansion of macro 'FANPIN'
digitalWrite(FANPIN, LOW);
^
include_define.h:21:23: error: 'D7' was not declared in this scope
#define FANPIN D7
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino:126:18: note: in expansion of macro 'FANPIN'
digitalWrite(FANPIN, LOW);
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino: In function 'void temp_ten_regulation()':
include_define.h:19:23: error: 'D5' was not declared in this scope
#define TENPIN D5
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino:133:20: note: in expansion of macro 'TENPIN'
digitalWrite(TENPIN, HIGH);
^
include_define.h:19:23: error: 'D5' was not declared in this scope
#define TENPIN D5
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino:136:20: note: in expansion of macro 'TENPIN'
digitalWrite(TENPIN, LOW);
^
include_define.h:19:23: error: 'D5' was not declared in this scope
#define TENPIN D5
^
C:\Users\User\Desktop\esp8266_aquarium\FUNCTIONS.ino:140:18: note: in expansion of macro 'TENPIN'
digitalWrite(TENPIN, LOW);
^
exit status 1
'D3' was not declared in this scope
Этот отчёт будет иметь больше информации с
включенной опцией Файл -> Настройки ->
"Показать подробный вывод во время компиляции"