zotos пишет:
UB9UBY
IMHO правильнее будет проверить вам же как это работает в железе а потом ловить баги или пить шампанское ).
Как я проверю в железе, если при проверке ошибки есть. Вот я и спросил, что не так могли прописать.
Такие ошибки выдает при проверке
Arduino: 1.8.9 (Windows 7), Плата:"Arduino Nano, ATmega328P"
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino: In function 'void setup()':
si5351_vfo_03:16:23: error: 'D4' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:45:11: note: in expansion of macro 'BAND1'
si5351_vfo_03:17:23: error: 'D5' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:46:11: note: in expansion of macro 'BAND2'
si5351_vfo_03:18:23: error: 'D6' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:47:11: note: in expansion of macro 'BAND3'
si5351_vfo_03:19:23: error: 'D7' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:48:11: note: in expansion of macro 'BAND4'
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino: In function 'void loop()':
si5351_vfo_03:16:23: error: 'D4' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:81:9: note: in expansion of macro 'BAND1'
si5351_vfo_03:17:23: error: 'D5' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:82:9: note: in expansion of macro 'BAND2'
si5351_vfo_03:18:23: error: 'D6' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:83:9: note: in expansion of macro 'BAND3'
si5351_vfo_03:19:23: error: 'D7' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:84:9: note: in expansion of macro 'BAND4'
si5351_vfo_03:16:23: error: 'D4' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:89:9: note: in expansion of macro 'BAND1'
si5351_vfo_03:17:23: error: 'D5' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:90:9: note: in expansion of macro 'BAND2'
si5351_vfo_03:18:23: error: 'D6' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:91:9: note: in expansion of macro 'BAND3'
si5351_vfo_03:19:23: error: 'D7' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:92:9: note: in expansion of macro 'BAND4'
si5351_vfo_03:16:23: error: 'D4' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:97:9: note: in expansion of macro 'BAND1'
si5351_vfo_03:17:23: error: 'D5' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:98:9: note: in expansion of macro 'BAND2'
si5351_vfo_03:18:23: error: 'D6' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:99:9: note: in expansion of macro 'BAND3'
si5351_vfo_03:19:23: error: 'D7' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:100:9: note: in expansion of macro 'BAND4'
si5351_vfo_03:16:23: error: 'D4' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:105:9: note: in expansion of macro 'BAND1'
si5351_vfo_03:17:23: error: 'D5' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:106:9: note: in expansion of macro 'BAND2'
si5351_vfo_03:18:23: error: 'D6' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:107:9: note: in expansion of macro 'BAND3'
si5351_vfo_03:19:23: error: 'D7' was not declared in this scope
C:\Users\Лёха\Desktop\версия арбалет\si5351_vfo_03\si5351_vfo_03.ino:108:9: note: in expansion of macro 'BAND4'
exit status 1
'D4' was not declared in this scope
Этот отчёт будет иметь больше информации с
включенной опцией Файл -> Настройки ->
"Показать подробный вывод во время компиляции"