ПРЕДУПРЕЖДЕНИЕ: библиотека EEPROM должна запускаться на архитектурах megaavr и может быть несовместима с вашей платой на архитектуре avr.
In file included from sketch\a1_data.h:84:0,
from C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\GyverControl_1.6.2.ino:132:
sketch\encMinim.h: In constructor 'encMinim::encMinim(uint8_t, uint8_t, int8_t, boolean, boolean)':
sketch\encMinim.h:37:77: warning: unused parameter 'type' [-Wunused-parameter]
encMinim::encMinim(uint8_t clk, uint8_t dt, int8_t sw, boolean dir, boolean type) {
^~~~
In file included from C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/Arduino.h:27:0,
from sketch\GyverControl_1.6.2.ino.cpp:1:
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\a2_setup.ino: In function 'void INT0_vect()':
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\a2_setup.ino:58:5: warning: 'INT0_vect' appears to be a misspelled 'signal' handler, missing '__vector' prefix [-Wmisspelled-isr]
ISR(INT0_vect) { // External interrupt vectors
^
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\a2_setup.ino: In function 'void INT1_vect()':
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\a2_setup.ino:62:5: warning: 'INT1_vect' appears to be a misspelled 'signal' handler, missing '__vector' prefix [-Wmisspelled-isr]
ISR(INT1_vect) {
^
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\a4_func.ino: In function 'void initHardware()':
a4_func:65:3: error: 'EICRA' was not declared in this scope
EICRA = (EICRA & 0x0C) | 1; // Setup interrupt type
^~~~~
In file included from C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/api/Interrupts.h:8:0,
from C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/api/ArduinoAPI.h:32,
from C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/Arduino.h:23,
from sketch\GyverControl_1.6.2.ino.cpp:1:
a4_func:66:10: error: 'EIMSK' was not declared in this scope
bitSet(EIMSK, INT0); // Enable external interrupt
^
C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/api/Common.h:79:30: note: in definition of macro 'bitSet'
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
^~~~~
a4_func:66:17: error: 'INT0' was not declared in this scope
bitSet(EIMSK, INT0); // Enable external interrupt
^
C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/api/Common.h:79:49: note: in definition of macro 'bitSet'
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
^~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\a4_func.ino:66:17: note: suggested alternative: 'PIN0'
bitSet(EIMSK, INT0); // Enable external interrupt
^
C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/api/Common.h:79:49: note: in definition of macro 'bitSet'
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
^~~
a4_func:68:17: error: 'INT1' was not declared in this scope
bitSet(EIMSK, INT1);
^
C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/api/Common.h:79:49: note: in definition of macro 'bitSet'
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
^~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\a4_func.ino:68:17: note: suggested alternative: 'PIN1'
bitSet(EIMSK, INT1);
^
C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/api/Common.h:79:49: note: in definition of macro 'bitSet'
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
^~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\a4_func.ino: In function 'void applySettings()':
a4_func:105:41: error: cannot convert 'boolean {aka bool}' to 'PinStatus' for argument '2' to 'void digitalWrite(pin_size_t, PinStatus)'
digitalWrite(SERVO_1, channelStates[8]);
^
a4_func:108:41: error: cannot convert 'boolean {aka bool}' to 'PinStatus' for argument '2' to 'void digitalWrite(pin_size_t, PinStatus)'
digitalWrite(SERVO_0, channelStates[7]);
^
a4_func:115:67: error: cannot convert 'boolean {aka bool}' to 'PinStatus' for argument '2' to 'void digitalWrite(pin_size_t, PinStatus)'
if (temp.mode < 4) digitalWrite(relayPins[i], channelStates[i]); // вернуть реле на места
^
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\automatics.ino: In function 'void timersTick()':
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\automatics.ino:81:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (millis() - timerMillis[curChannel] >= activeChannel.sensPeriod * 1000L) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
automatics:129:58: error: cannot convert 'boolean {aka bool}' to 'PinStatus' for argument '2' to 'void digitalWrite(pin_size_t, PinStatus)'
digitalWrite(relayPins[relay], channelStates[relay]); // включаем/выключаем все реле типов РЕЛЕ и КЛАПАН
^
automatics:139:58: error: cannot convert 'boolean {aka bool}' to 'PinStatus' for argument '2' to 'void digitalWrite(pin_size_t, PinStatus)'
digitalWrite(relayPins[relay], channelStates[relay]); // применить
^
automatics:176:41: error: cannot convert 'boolean {aka bool}' to 'PinStatus' for argument '2' to 'void digitalWrite(pin_size_t, PinStatus)'
digitalWrite(SERVO_0, channelStates[7]);
^
automatics:192:41: error: cannot convert 'boolean {aka bool}' to 'PinStatus' for argument '2' to 'void digitalWrite(pin_size_t, PinStatus)'
digitalWrite(SERVO_1, channelStates[8]);
^
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\automatics.ino: In function 'boolean checkDay(byte)':
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\automatics.ino:227:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(thisTime > temp.weekOn && thisTime < temp.weekOff) :
~~~~~~~~~^~~~~~~~~~~~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\automatics.ino:227:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(thisTime > temp.weekOn && thisTime < temp.weekOff) :
~~~~~~~~~^~~~~~~~~~~~~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\automatics.ino:228:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(thisTime > temp.weekOn || thisTime < temp.weekOff))) return true;
~~~~~~~~~^~~~~~~~~~~~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\automatics.ino:228:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(thisTime > temp.weekOn || thisTime < temp.weekOff))) return true;
~~~~~~~~~^~~~~~~~~~~~~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\automatics.ino: In function 'void checkDawn(byte)':
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\automatics.ino:255:21: warning: unused parameter 'curChannel' [-Wunused-parameter]
void checkDawn(byte curChannel) {
^~~~~~~~~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\menu.ino: In function 'void incr(uint32_t*, int, int)':
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\menu.ino:11:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (incr < 0 && *val < -incr) *val = 0;
~~~~~^~~~~~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\menu.ino:13:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (*val > limit) *val = limit;
~~~~~^~~~~~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\menu.ino:14:12: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (*val < 0) *val = 0;
~~~~~^~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\menu.ino: In function 'void chSettingsSett(int)':
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\menu.ino:311:8: warning: unused variable 'curPWMchannel' [-Wunused-variable]
byte curPWMchannel = channelToPWM[currentChannel];
^~~~~~~~~~~~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\pid.ino: In function 'void computePID(byte)':
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\pid.ino:35:22: warning: unused parameter 'channel' [-Wunused-parameter]
void computePID(byte channel) {
^~~~~~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\redrawScreen.ino: In function 'void drawPlot(int*)':
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\redrawScreen.ino:39:20: warning: unused parameter 'plot_array' [-Wunused-parameter]
void drawPlot(int *plot_array) {
^~~~~~~~~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\redrawScreen.ino: In function 'void redrawSettings()':
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\redrawScreen.ino:239:8: warning: unused variable 'curPWMchannel' [-Wunused-variable]
byte curPWMchannel = channelToPWM[currentChannel];
^~~~~~~~~~~~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\sensors.ino: In function 'void readAllSensors()':
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\sensors.ino:118:33: warning: invalid conversion from 'int' to 'PinStatus' [-fpermissive]
digitalWrite(SENS_VCC, 1);
^
In file included from C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/api/Interrupts.h:8:0,
from C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/api/ArduinoAPI.h:32,
from C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/Arduino.h:23,
from sketch\GyverControl_1.6.2.ino.cpp:1:
C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/api/Common.h:106:6: note: initializing argument 2 of 'void digitalWrite(pin_size_t, PinStatus)'
void digitalWrite(pin_size_t pinNumber, PinStatus status);
^~~~~~~~~~~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\sensors.ino:128:33: warning: invalid conversion from 'int' to 'PinStatus' [-fpermissive]
digitalWrite(SENS_VCC, 0);
^
In file included from C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/api/Interrupts.h:8:0,
from C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/api/ArduinoAPI.h:32,
from C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/Arduino.h:23,
from sketch\GyverControl_1.6.2.ino.cpp:1:
C:\Users\�������\AppData\Local\Arduino15\packages\thinary\hardware\avr\1.0.0\cores\arduino/api/Common.h:106:6: note: initializing argument 2 of 'void digitalWrite(pin_size_t, PinStatus)'
void digitalWrite(pin_size_t pinNumber, PinStatus status);
^~~~~~~~~~~~
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\service.ino: In function 'void serviceTick()':
service:6:54: error: cannot convert 'boolean {aka bool}' to 'PinStatus' for argument '2' to 'void digitalWrite(pin_size_t, PinStatus)'
digitalWrite(relayPins[i], channelStatesServ[i]);
^
service:9:49: error: cannot convert 'boolean {aka bool}' to 'PinStatus' for argument '2' to 'void digitalWrite(pin_size_t, PinStatus)'
digitalWrite(SERVO_0, channelStatesServ[7]);
^
service:12:49: error: cannot convert 'boolean {aka bool}' to 'PinStatus' for argument '2' to 'void digitalWrite(pin_size_t, PinStatus)'
digitalWrite(SERVO_1, channelStatesServ[8]);
^
C:\firmware\GyverControl-master\firmware\GyverControl_1.6.2\service.ino: In function 'void serviceOUT()':
service:67:74: error: cannot convert 'boolean {aka bool}' to 'PinStatus' for argument '2' to 'void digitalWrite(pin_size_t, PinStatus)'
if (loadChannel(i).state) digitalWrite(relayPins[i], channelStates[i]); // вернуть реле на места
^
service:71:41: error: cannot convert 'boolean {aka bool}' to 'PinStatus' for argument '2' to 'void digitalWrite(pin_size_t, PinStatus)'
digitalWrite(SERVO_0, channelStates[7]);
^
service:74:41: error: cannot convert 'boolean {aka bool}' to 'PinStatus' for argument '2' to 'void digitalWrite(pin_size_t, PinStatus)'
digitalWrite(SERVO_1, channelStates[8]);
^
exit status 1
'EICRA' was not declared in this scope