Помогите пожалуйста. Выдает такие ошибки при попытке записать на ардуино.
Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Плата:"Arduino Nano, ATmega328P (Old Bootloader)"
C:\Users\danil\AppData\Local\Temp\Rar$DIa4404.9982\GyverRGB_v1.7\GyverRGB_v1.7.ino: In function 'void setup()':
C:\Users\danil\AppData\Local\Temp\Rar$DIa4404.9982\GyverRGB_v1.7\GyverRGB_v1.7.ino:329:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
TCCR1B = TCCR1B & 0b11111000 | 0x02;
^
C:\Users\danil\AppData\Local\Temp\Rar$DIa4404.9982\GyverRGB_v1.7\GyverRGB_v1.7.ino:331:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
TCCR2B = TCCR2B & 0b11111000 | 0x02;
^
C:\Users\danil\AppData\Local\Temp\Rar$DIa4404.9982\GyverRGB_v1.7\GyverRGB_v1.7.ino:334:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
TCCR1B = TCCR1B & 0b11111000 | 0x01;
^
C:\Users\danil\AppData\Local\Temp\Rar$DIa4404.9982\GyverRGB_v1.7\GyverRGB_v1.7.ino:336:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
TCCR2B = TCCR2B & 0b11111000 | 0x01;
^
C:\Users\danil\AppData\Local\Temp\Rar$DIa4404.9982\GyverRGB_v1.7\GyverRGB_v1.7.ino:354:57: warning: invalid conversion from 'byte {aka unsigned char}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
for (byte i = 0; i < 10; i++) eeprom_write_byte(i, 0);
^
In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/USBAPI.h:25:0,
from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Arduino.h:233,
from sketch\GyverRGB_v1.7.ino.cpp:1:
c:\program files\windowsapps\arduinollc.arduinoide_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\avr\eeprom.h:164:6: note: initializing argument 1 of 'void eeprom_write_byte(uint8_t*, uint8_t)'
void eeprom_write_byte (uint8_t *__p, uint8_t __value);
^
C:\Users\danil\AppData\Local\Temp\Rar$DIa4404.9982\GyverRGB_v1.7\GyverRGB_v1.7.ino:356:29: warning: invalid conversion from 'byte {aka unsigned char}' to 'uint16_t* {aka unsigned int*}' [-fpermissive]
eeprom_write_word(i, 0);
^
In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/USBAPI.h:25:0,
from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Arduino.h:233,
from sketch\GyverRGB_v1.7.ino.cpp:1:
c:\program files\windowsapps\arduinollc.arduinoide_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\avr\eeprom.h:169:6: note: initializing argument 1 of 'void eeprom_write_word(uint16_t*, uint16_t)'
void eeprom_write_word (uint16_t *__p, uint16_t __value);
^
C:\Users\danil\AppData\Local\Temp\Rar$DIa4404.9982\GyverRGB_v1.7\GyverRGB_v1.7.ino:357:48: warning: invalid conversion from 'byte {aka unsigned char}' to 'uint16_t* {aka unsigned int*}' [-fpermissive]
if (i % 10 == 0) eeprom_write_word(i, 255);
^
In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/USBAPI.h:25:0,
from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Arduino.h:233,
from sketch\GyverRGB_v1.7.ino.cpp:1:
c:\program files\windowsapps\arduinollc.arduinoide_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\avr\eeprom.h:169:6: note: initializing argument 1 of 'void eeprom_write_word(uint16_t*, uint16_t)'
void eeprom_write_word (uint16_t *__p, uint16_t __value);
^
C:\Users\danil\AppData\Local\Temp\Rar$DIa4404.9982\GyverRGB_v1.7\GyverRGB_v1.7.ino:359:37: warning: invalid conversion from 'int' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
eeprom_write_byte(PRESET_ADDR, 0);
^
In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/USBAPI.h:25:0,
from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Arduino.h:233,
from sketch\GyverRGB_v1.7.ino.cpp:1:
c:\program files\windowsapps\arduinollc.arduinoide_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\avr\eeprom.h:164:6: note: initializing argument 1 of 'void eeprom_write_byte(uint8_t*, uint8_t)'
void eeprom_write_byte (uint8_t *__p, uint8_t __value);
^
C:\Users\danil\AppData\Local\Temp\Rar$DIa4404.9982\GyverRGB_v1.7\GyverRGB_v1.7.ino:360:29: warning: invalid conversion from 'int' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
eeprom_write_byte(201, 0);
^
In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/USBAPI.h:25:0,
from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Arduino.h:233,
from sketch\GyverRGB_v1.7.ino.cpp:1:
c:\program files\windowsapps\arduinollc.arduinoide_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\avr\eeprom.h:164:6: note: initializing argument 1 of 'void eeprom_write_byte(uint8_t*, uint8_t)'
void eeprom_write_byte (uint8_t *__p, uint8_t __value);
^
C:\Users\danil\AppData\Local\Temp\Rar$DIa4404.9982\GyverRGB_v1.7\GyverRGB_v1.7.ino:361:31: warning: invalid conversion from 'int' to 'uint16_t* {aka unsigned int*}' [-fpermissive]
eeprom_write_word(202, 100);
^
In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/USBAPI.h:25:0,
from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Arduino.h:233,
from sketch\GyverRGB_v1.7.ino.cpp:1:
c:\program files\windowsapps\arduinollc.arduinoide_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\avr\eeprom.h:169:6: note: initializing argument 1 of 'void eeprom_write_word(uint16_t*, uint16_t)'
void eeprom_write_word (uint16_t *__p, uint16_t __value);
^
GyverRGB_v1.7:362:19: error: 'writeSettings' was not declared in this scope
writeSettings();
^
GyverRGB_v1.7:367:16: error: 'readSettings' was not declared in this scope
readSettings();
^
GyverRGB_v1.7:394:12: error: 'drawInfo' was not declared in this scope
drawInfo();
^
GyverRGB_v1.7:395:16: error: 'drawSettings' was not declared in this scope
drawSettings();
^
C:\Users\danil\AppData\Local\Temp\Rar$DIa4404.9982\GyverRGB_v1.7\GyverRGB_v1.7.ino: In function 'void loop()':
GyverRGB_v1.7:399:13: error: 'backlTick' was not declared in this scope
backlTick(); // выключение дисплея
^
GyverRGB_v1.7:400:15: error: 'controlTick' was not declared in this scope
controlTick(); // отработка управления
^
GyverRGB_v1.7:401:15: error: 'effectsTick' was not declared in this scope
effectsTick(); // вывод режимов
^
GyverRGB_v1.7:402:17: error: 'voltmeterTick' was not declared in this scope
voltmeterTick(); // измерение напряжения
^
GyverRGB_v1.7:403:29: error: 'bluetoothTick' was not declared in this scope
if (USE_BT) bluetoothTick(); // парсинг блютус
^
exit status 1
'writeSettings' was not declared in this scope