Забыл включить плату ESP8266 ...
Какой у Вас компилятор? В 1.8.13 не компилится...
Сейчас выдал компилятор:
In file included from C:\Users\Mixa\Documents\Arduino\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\Mixa\Documents\Arduino\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\Mixa\Documents\Arduino\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\Mixa\Documents\Arduino\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\Mixa\Documents\Arduino\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\Mixa\Documents\Arduino\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\Mixa\Documents\Arduino\esp8266_aquarium\esp8266_aquarium.ino:12:11: note: in expansion of macro 'RELAY2PIN'
pinMode(RELAY2PIN, OUTPUT);
^
C:\Users\Mixa\Documents\Arduino\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\Mixa\Documents\Arduino\esp8266_aquarium\FUNCTIONS.ino:64: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\Mixa\Documents\Arduino\esp8266_aquarium\FUNCTIONS.ino:67: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\Mixa\Documents\Arduino\esp8266_aquarium\FUNCTIONS.ino:75: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\Mixa\Documents\Arduino\esp8266_aquarium\FUNCTIONS.ino:78:19: note: in expansion of macro 'LEDPIN'
analogWrite(LEDPIN, max_day_percent);
^
C:\Users\Mixa\Documents\Arduino\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\Mixa\Documents\Arduino\esp8266_aquarium\FUNCTIONS.ino:101: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\Mixa\Documents\Arduino\esp8266_aquarium\FUNCTIONS.ino:105: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\Mixa\Documents\Arduino\esp8266_aquarium\FUNCTIONS.ino:109: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\Mixa\Documents\Arduino\esp8266_aquarium\FUNCTIONS.ino:113:20: note: in expansion of macro 'RELAY2PIN'
digitalWrite(RELAY2PIN, HIGH);
^
C:\Users\Mixa\Documents\Arduino\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\Mixa\Documents\Arduino\esp8266_aquarium\FUNCTIONS.ino:121: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\Mixa\Documents\Arduino\esp8266_aquarium\FUNCTIONS.ino:124: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\Mixa\Documents\Arduino\esp8266_aquarium\FUNCTIONS.ino:128:18: note: in expansion of macro 'FANPIN'
digitalWrite(FANPIN, LOW);
^
C:\Users\Mixa\Documents\Arduino\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\Mixa\Documents\Arduino\esp8266_aquarium\FUNCTIONS.ino:135: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\Mixa\Documents\Arduino\esp8266_aquarium\FUNCTIONS.ino:138: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\Mixa\Documents\Arduino\esp8266_aquarium\FUNCTIONS.ino:142:18: note: in expansion of macro 'TENPIN'
digitalWrite(TENPIN, LOW);
^
exit status 1
'D3' was not declared in this scope