Grbl ошибка компиляции для платы arduino uno

Offline

Зарегистрирован: 18.05.2019

По инструкции взятой с видео *руки крюки* устанавливал библиотеку grbl 

сделал как в видео архив зип зашел в скетч в подключить библиотеку 

там нажал подключить зип архив 

появилось в меню библиотека grbl а вот после нажатия кнопки проверить выдает ошибку 

скетч слмшком большой ошибка компиляции для платы arduino uno

пол дня ищу но что то такого нет 

со светодиодами и прочим платка работает нормально но хочу подключить для опыта двигателя с дисковода попробовать в качестве чпу для общего развития если получится то буду собирать минимальный станок для начала

При разработке ПО для работы с GRBL столкнулся с тем, что свежая GRBL, например 0.9, и тем более 1.1, не шьются в мою старую Ардуино UNO, купленную еще 2009 году. Эта Arduino пережила многое и стояла на самом первом станке с ЧПУ. Глючная, тормозная, но живучая.

Беда пришла, когда я попробовал прошить в ардуину GRBL 1.1. Не получилось. То есть библиотека подключилась, файл grblUpload.ino открылся, проект откомпилировался. Но загружаться в Arduino отказался.
При этом прошивка легко устанавливалась на еще более сурового китайца (Ардуино Нано).
Кроме того, в эту Ардуино УНО по-прежнему шились мои собственные скетчи.

Настройка подробной диагностика ошибок при прошивке в Arduino IDE

Что делать, если GRBL не шьется в Ардуино? Нужно посмотреть, с чем связаны проблемы, для этого необходимо получить расширенную диагностику процесса прошивки. Чтобы это сделать, заходим в Arduino IDE, далее главное меню — Файл->Настройки, и ставим галку Показать подробный вывод — Загрузка.

Просмотр расширенной диагностики при прошивке Ардуино

Теперь при заливке прошивки в Ардуино мы увидим больше информации.
В моем случае следующее:

Диагностика ошибок при прошивке GRBL в Ардуино

диагностика того, что прошло штатно

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "C:UsersAndreyAppDataLocalTemparduino_build_872288/grblUpload.ino.hex"
avrdude: writing flash (29762 bytes):

Writing | ################################################avrdude: stk500_recv():
programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding - много-много раз
avrdude: stk500_recv(): programmer is not responding
Проблема загрузки в плату. Помощь по загрузке: http://www.arduino.cc/en/Guide/Troubleshooting#upload.

Как сделать из Ардуино Нано программатор

То есть, имеем Китайскую Ардуино УНО, на которую устанавливаются простые прошивки и не устанавливается GRBL, выдавая avrdude: stk500_recv(): programmer is not responding.
Форумы подсказали, что необходимо перезаписать Bootloader. А для этого нужна ещё одна плата Ардуино. У меня нашлась Ардуино Нано (на неё, как писал выше, GRBL установился без вопросов).

Чтобы превратить Arduino Nano в программатор подключаем Nano к компьютеру и заливаем в неё скетч из Главное меню-> Файл->Примеры->ArduinoISP.

Заливка прошивки программатора ISP в Ардуино Нано

Прошивка bootloader’a в Arduino UNO

Отключаем Нано от компьютера. Соединяем UNO и Nano, как на рисунке, через панели ICSP. На ICSP панели 1 или точка стоят напротив первого пина.

Подключение Arduino UNO к Nano для прошивки бутлоадера

Теперь подключаем Ардуино Nano к компьютеру. Открываем Arduino IDE. В главном меню выбираем Инструменты->Плата Arduino/Genuino UNO.

Осталось нажать Главное меню->Инструменты->Записать загрузчик. У меня сразу не заработало: полезли ошибки в консоли. Пару раз нажал Главное меню->Инструменты->Записать загрузчик, и, о чудо, сработало.

После описанных танцев с бубном скетч с GRBL начал заливаться в Ардуино УНО без ошибок. И GRBL уверенно работает на этой Arduino UNO.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Pick a username
Email Address
Password

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account

In file included from C:UsersAdminDocumentsArduinolibrariesgrbl/grbl.h:43:0,

             from C:UsersAdminDesktopgrbl-mastergrblexamplesgrblUploadgrblUpload.ino:27:

C:UsersAdminDocumentsArduinolibrariesgrbl/nuts_bolts.h:25:0: warning: «false» redefined

#define false 0

^

In file included from C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:24:0,

             from sketchgrblUpload.ino.cpp:1:

c:program files (x86)arduinohardwaretoolsavrlibgccavr4.9.2includestdbool.h:42:0: note: this is the location of the previous definition

#define false false

^

In file included from C:UsersAdminDocumentsArduinolibrariesgrbl/grbl.h:43:0,

             from C:UsersAdminDesktopgrbl-mastergrblexamplesgrblUploadgrblUpload.ino:27:

C:UsersAdminDocumentsArduinolibrariesgrbl/nuts_bolts.h:26:0: warning: «true» redefined

#define true 1

^

In file included from C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:24:0,

             from sketchgrblUpload.ino.cpp:1:

c:program files (x86)arduinohardwaretoolsavrlibgccavr4.9.2includestdbool.h:43:0: note: this is the location of the previous definition

#define true true

^

In file included from C:UsersAdminDocumentsArduinolibrariesgrbl/grbl.h:43:0,

             from C:UsersAdminDesktopgrbl-mastergrblexamplesgrblUploadgrblUpload.ino:27:

C:UsersAdminDocumentsArduinolibrariesgrbl/nuts_bolts.h:51:0: warning: «max» redefined

#define max(a,b) (((a) > (b)) ? (a) : (b))

^

In file included from sketchgrblUpload.ino.cpp:1:0:

C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:93:0: note: this is the location of the previous definition

#define max(a,b) ((a)>(b)?(a):(b))

^

In file included from C:UsersAdminDocumentsArduinolibrariesgrbl/grbl.h:43:0,

             from C:UsersAdminDesktopgrbl-mastergrblexamplesgrblUploadgrblUpload.ino:27:

C:UsersAdminDocumentsArduinolibrariesgrbl/nuts_bolts.h:52:0: warning: «min» redefined

#define min(a,b) (((a) < (b)) ? (a) : (b))

^

In file included from sketchgrblUpload.ino.cpp:1:0:

C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:92:0: note: this is the location of the previous definition

#define min(a,b) ((a)<(b)?(a):(b))

^

In file included from C:UsersAdminDocumentsArduinolibrariesgrbl/grbl.h:43:0,

             from C:UsersAdminDesktopgrbl-mastergrblexamplesgrblUploadgrblUpload.ino:27:

C:UsersAdminDocumentsArduinolibrariesgrbl/nuts_bolts.h:55:0: warning: «bit» redefined

#define bit(n) (1 << n)

^

In file included from sketchgrblUpload.ino.cpp:1:0:

C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:123:0: note: this is the location of the previous definition

#define bit(b) (1UL << (b))

^

Ребят помогите, тож ардуинке чет не нравится 

Arduino: 1.8.5 (Windows 8), Плата:»Arduino/Genuino Uno»

In file included from C:Program Files (x86)Arduinolibrariesgrbl/grbl.h:43:0,

                 from C:Program Files (x86)Arduinolibrariesgrbl/config.h:30,

                 from C:Usersua9sbzDocumentsArduinosketch_oct03bsketch_oct03b.ino:1:

C:Program Files (x86)Arduinolibrariesgrbl/nuts_bolts.h:25:0: warning: «false» redefined

 #define false 0

 ^

In file included from C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:24:0,

                 from sketchsketch_oct03b.ino.cpp:1:

c:program files (x86)arduinohardwaretoolsavrlibgccavr4.9.2includestdbool.h:42:0: note: this is the location of the previous definition

 #define false false

 ^

In file included from C:Program Files (x86)Arduinolibrariesgrbl/grbl.h:43:0,

                 from C:Program Files (x86)Arduinolibrariesgrbl/config.h:30,

                 from C:Usersua9sbzDocumentsArduinosketch_oct03bsketch_oct03b.ino:1:

C:Program Files (x86)Arduinolibrariesgrbl/nuts_bolts.h:26:0: warning: «true» redefined

 #define true 1

 ^

In file included from C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:24:0,

                 from sketchsketch_oct03b.ino.cpp:1:

c:program files (x86)arduinohardwaretoolsavrlibgccavr4.9.2includestdbool.h:43:0: note: this is the location of the previous definition

 #define true true

 ^

In file included from C:Program Files (x86)Arduinolibrariesgrbl/grbl.h:43:0,

                 from C:Program Files (x86)Arduinolibrariesgrbl/config.h:30,

                 from C:Usersua9sbzDocumentsArduinosketch_oct03bsketch_oct03b.ino:1:

C:Program Files (x86)Arduinolibrariesgrbl/nuts_bolts.h:51:0: warning: «max» redefined

 #define max(a,b) (((a) > (b)) ? (a) : (b))

 ^

In file included from sketchsketch_oct03b.ino.cpp:1:0:

C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:93:0: note: this is the location of the previous definition

 #define max(a,b) ((a)>(b)?(a):(b))

 ^

In file included from C:Program Files (x86)Arduinolibrariesgrbl/grbl.h:43:0,

                 from C:Program Files (x86)Arduinolibrariesgrbl/config.h:30,

                 from C:Usersua9sbzDocumentsArduinosketch_oct03bsketch_oct03b.ino:1:

C:Program Files (x86)Arduinolibrariesgrbl/nuts_bolts.h:52:0: warning: «min» redefined

 #define min(a,b) (((a) < (b)) ? (a) : (b))

 ^

In file included from sketchsketch_oct03b.ino.cpp:1:0:

C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:92:0: note: this is the location of the previous definition

 #define min(a,b) ((a)<(b)?(a):(b))

 ^

In file included from C:Program Files (x86)Arduinolibrariesgrbl/grbl.h:43:0,

                 from C:Program Files (x86)Arduinolibrariesgrbl/config.h:30,

                 from C:Usersua9sbzDocumentsArduinosketch_oct03bsketch_oct03b.ino:1:

C:Program Files (x86)Arduinolibrariesgrbl/nuts_bolts.h:55:0: warning: «bit» redefined

 #define bit(n) (1 << n) 

 ^

In file included from sketchsketch_oct03b.ino.cpp:1:0:

C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:123:0: note: this is the location of the previous definition

 #define bit(b) (1UL << (b))

 ^

wiring.c.o (symbol from plugin): In function `__vector_16′:

(.text+0x0): multiple definition of `__vector_16′

librariesgrblstepper.c.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1
Ошибка компиляции для платы Arduino/Genuino Uno.

Только что, UA9SBZ сказал:

Ребят помогите, тож ардуинке чет не нравится 

Arduino: 1.8.5 (Windows 8), Плата:»Arduino/Genuino Uno»

In file included from C:Program Files (x86)Arduinolibrariesgrbl/grbl.h:43:0,

                 from C:Program Files (x86)Arduinolibrariesgrbl/config.h:30,

                 from C:Usersua9sbzDocumentsArduinosketch_oct03bsketch_oct03b.ino:1:

C:Program Files (x86)Arduinolibrariesgrbl/nuts_bolts.h:25:0: warning: «false» redefined

 #define false 0

 ^

In file included from C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:24:0,

                 from sketchsketch_oct03b.ino.cpp:1:

c:program files (x86)arduinohardwaretoolsavrlibgccavr4.9.2includestdbool.h:42:0: note: this is the location of the previous definition

 #define false false

 ^

In file included from C:Program Files (x86)Arduinolibrariesgrbl/grbl.h:43:0,

                 from C:Program Files (x86)Arduinolibrariesgrbl/config.h:30,

                 from C:Usersua9sbzDocumentsArduinosketch_oct03bsketch_oct03b.ino:1:

C:Program Files (x86)Arduinolibrariesgrbl/nuts_bolts.h:26:0: warning: «true» redefined

 #define true 1

 ^

In file included from C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:24:0,

                 from sketchsketch_oct03b.ino.cpp:1:

c:program files (x86)arduinohardwaretoolsavrlibgccavr4.9.2includestdbool.h:43:0: note: this is the location of the previous definition

 #define true true

 ^

In file included from C:Program Files (x86)Arduinolibrariesgrbl/grbl.h:43:0,

                 from C:Program Files (x86)Arduinolibrariesgrbl/config.h:30,

                 from C:Usersua9sbzDocumentsArduinosketch_oct03bsketch_oct03b.ino:1:

C:Program Files (x86)Arduinolibrariesgrbl/nuts_bolts.h:51:0: warning: «max» redefined

 #define max(a,b) (((a) > (b)) ? (a) : (b))

 ^

In file included from sketchsketch_oct03b.ino.cpp:1:0:

C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:93:0: note: this is the location of the previous definition

 #define max(a,b) ((a)>(b)?(a):(b))

 ^

In file included from C:Program Files (x86)Arduinolibrariesgrbl/grbl.h:43:0,

                 from C:Program Files (x86)Arduinolibrariesgrbl/config.h:30,

                 from C:Usersua9sbzDocumentsArduinosketch_oct03bsketch_oct03b.ino:1:

C:Program Files (x86)Arduinolibrariesgrbl/nuts_bolts.h:52:0: warning: «min» redefined

 #define min(a,b) (((a) < (b)) ? (a) : (b))

 ^

In file included from sketchsketch_oct03b.ino.cpp:1:0:

C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:92:0: note: this is the location of the previous definition

 #define min(a,b) ((a)<(b)?(a):(b))

 ^

In file included from C:Program Files (x86)Arduinolibrariesgrbl/grbl.h:43:0,

                 from C:Program Files (x86)Arduinolibrariesgrbl/config.h:30,

                 from C:Usersua9sbzDocumentsArduinosketch_oct03bsketch_oct03b.ino:1:

C:Program Files (x86)Arduinolibrariesgrbl/nuts_bolts.h:55:0: warning: «bit» redefined

 #define bit(n) (1 << n) 

 ^

In file included from sketchsketch_oct03b.ino.cpp:1:0:

C:Program Files (x86)Arduinohardwarearduinoavrcoresarduino/Arduino.h:123:0: note: this is the location of the previous definition

 #define bit(b) (1UL << (b))

 ^

wiring.c.o (symbol from plugin): In function `__vector_16′:

(.text+0x0): multiple definition of `__vector_16′

librariesgrblstepper.c.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1
Ошибка компиляции для платы Arduino/Genuino Uno.

Все спасибо, нашел косяк))))

In file included from C:\Users\Admin\Documents\Arduino\libraries\grbl/grbl.h:43:0,

             from C:\Users\Admin\Desktop\grbl-master\grbl\examples\grblUpload\grblUpload.ino:27:

C:\Users\Admin\Documents\Arduino\libraries\grbl/nuts_bolts.h:25:0: warning: «false» redefined

#define false 0

^

In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:24:0,

             from sketch\grblUpload.ino.cpp:1:

c:\program files (x86)\arduino\hardware\tools\avr\lib\gcc\avr\4.9.2\include\stdbool.h:42:0: note: this is the location of the previous definition

#define false false

^

In file included from C:\Users\Admin\Documents\Arduino\libraries\grbl/grbl.h:43:0,

             from C:\Users\Admin\Desktop\grbl-master\grbl\examples\grblUpload\grblUpload.ino:27:

C:\Users\Admin\Documents\Arduino\libraries\grbl/nuts_bolts.h:26:0: warning: «true» redefined

#define true 1

^

In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:24:0,

             from sketch\grblUpload.ino.cpp:1:

c:\program files (x86)\arduino\hardware\tools\avr\lib\gcc\avr\4.9.2\include\stdbool.h:43:0: note: this is the location of the previous definition

#define true true

^

In file included from C:\Users\Admin\Documents\Arduino\libraries\grbl/grbl.h:43:0,

             from C:\Users\Admin\Desktop\grbl-master\grbl\examples\grblUpload\grblUpload.ino:27:

C:\Users\Admin\Documents\Arduino\libraries\grbl/nuts_bolts.h:51:0: warning: «max» redefined

#define max(a,b) (((a) > (b)) ? (a) : (b))

^

In file included from sketch\grblUpload.ino.cpp:1:0:

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:93:0: note: this is the location of the previous definition

#define max(a,b) ((a)>(b)?(a):(b))

^

In file included from C:\Users\Admin\Documents\Arduino\libraries\grbl/grbl.h:43:0,

             from C:\Users\Admin\Desktop\grbl-master\grbl\examples\grblUpload\grblUpload.ino:27:

C:\Users\Admin\Documents\Arduino\libraries\grbl/nuts_bolts.h:52:0: warning: «min» redefined

#define min(a,b) (((a) < (b)) ? (a) : (b))

^

In file included from sketch\grblUpload.ino.cpp:1:0:

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:92:0: note: this is the location of the previous definition

#define min(a,b) ((a)<(b)?(a):(b))

^

In file included from C:\Users\Admin\Documents\Arduino\libraries\grbl/grbl.h:43:0,

             from C:\Users\Admin\Desktop\grbl-master\grbl\examples\grblUpload\grblUpload.ino:27:

C:\Users\Admin\Documents\Arduino\libraries\grbl/nuts_bolts.h:55:0: warning: «bit» redefined

#define bit(n) (1 << n)

^

In file included from sketch\grblUpload.ino.cpp:1:0:

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:123:0: note: this is the location of the previous definition

#define bit(b) (1UL << (b))

^

Arduino Forum

Loading

Проблемы при прошивке GRBL в старые Ардуино UNO

При разработке ПО для работы с GRBL столкнулся с тем, что свежая GRBL, например 0.9, и тем более 1.1, не шьются в мою старую Ардуино UNO, купленную еще 2009 году. Эта Arduino пережила многое и стояла на самом первом станке с ЧПУ. Глючная, тормозная, но живучая.

Беда пришла, когда я попробовал прошить в ардуину GRBL 1.1. Не получилось. То есть библиотека подключилась, файл grblUpload.ino открылся, проект откомпилировался. Но загружаться в Arduino отказался.
При этом прошивка легко устанавливалась на еще более сурового китайца (Ардуино Нано).
Кроме того, в эту Ардуино УНО по-прежнему шились мои собственные скетчи.

Настройка подробной диагностика ошибок при прошивке в Arduino IDE

Что делать, если GRBL не шьется в Ардуино? Нужно посмотреть, с чем связаны проблемы, для этого необходимо получить расширенную диагностику процесса прошивки. Чтобы это сделать, заходим в Arduino IDE, далее главное меню — Файл->Настройки, и ставим галку Показать подробный вывод — Загрузка.

Просмотр расширенной диагностики при прошивке Ардуино

Теперь при заливке прошивки в Ардуино мы увидим больше информации.
В моем случае следующее:

Диагностика ошибок при прошивке GRBL в Ардуино



диагностика того, что прошло штатно

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "C:\Users\Andrey\AppData\Local\Temp\arduino_build_872288/grblUpload.ino.hex"
avrdude: writing flash (29762 bytes):

Writing | ################################################avrdude: stk500_recv():
programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding - много-много раз
avrdude: stk500_recv(): programmer is not responding
Проблема загрузки в плату. Помощь по загрузке: http://www.arduino.cc/en/Guide/Troubleshooting#upload.

Как сделать из Ардуино Нано программатор

То есть, имеем Китайскую Ардуино УНО, на которую устанавливаются простые прошивки и не устанавливается GRBL, выдавая avrdude: stk500_recv(): programmer is not responding.
Форумы подсказали, что необходимо перезаписать Bootloader. А для этого нужна ещё одна плата Ардуино. У меня нашлась Ардуино Нано (на неё, как писал выше, GRBL установился без вопросов).

Чтобы превратить Arduino Nano в программатор подключаем Nano к компьютеру и заливаем в неё скетч из Главное меню-> Файл->Примеры->ArduinoISP.

Заливка прошивки программатора ISP в Ардуино Нано

Прошивка bootloader’a в Arduino UNO

Отключаем Нано от компьютера. Соединяем UNO и Nano, как на рисунке, через панели ICSP. На ICSP панели 1 или точка стоят напротив первого пина.

Подключение Arduino UNO к Nano для прошивки бутлоадера

Теперь подключаем Ардуино Nano к компьютеру. Открываем Arduino IDE. В главном меню выбираем Инструменты->Плата Arduino/Genuino UNO.

Осталось нажать Главное меню->Инструменты->Записать загрузчик. У меня сразу не заработало: полезли ошибки в консоли. Пару раз нажал Главное меню->Инструменты->Записать загрузчик, и, о чудо, сработало.

После описанных танцев с бубном скетч с GRBL начал заливаться в Ардуино УНО без ошибок. И GRBL уверенно работает на этой Arduino UNO.

Помоги добрые люди, выдает ошибку:

Arduino: 1.6.5 (Windows 8.1), Плата»Arduino Nano, ATmega168″

In file included from colorMusic_v2.10.ino:206:0:
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRLremote.h:29:2: error: #error IRLremote requires Arduino IDE 1.6.6 or greater. Please update your IDE.
#error IRLremote requires Arduino IDE 1.6.6 or greater. Please update your IDE.
^
In file included from colorMusic_v2.10.ino:200:0:
C:\Users\USER\Documents\Arduino\libraries\FastLED-master/FastLED.h:17:21: note: #pragma message: FastLED version 3.001.008
# pragma message «FastLED version 3.001.008»
^
In file included from C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Nec.h:28:0,
from C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRLremote.h:44,
from colorMusic_v2.10.ino:206:
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Time.h: In member function ‘uint32_t CIRL_Time<T>::nextEvent()’:
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Time.h:135:10: error: ‘time’ does not name a type
auto time = timeout();
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Time.h:136:10: error: ‘timespan’ does not name a type
auto timespan = static_cast<T*>(this)->timespanEvent;
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Time.h:138:8: error: ‘time’ was not declared in this scope
if(time >= timespan) {
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Time.h:138:16: error: ‘timespan’ was not declared in this scope
if(time >= timespan) {
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Time.h:142:12: error: ‘timespan’ was not declared in this scope
return timespan — time;
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Time.h:142:23: error: ‘time’ was not declared in this scope
return timespan — time;
^
In file included from C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Nec.h:30:0,
from C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRLremote.h:44,
from colorMusic_v2.10.ino:206:
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Decode.h: In static member function ‘static void CIRL_DecodeSpaces<T, blocks>::interrupt()’:
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Decode.h:100:10: error: ‘duration’ does not name a type
auto duration = T::nextTime();
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Decode.h:103:9: error: ‘duration’ was not declared in this scope
if (duration >= T::limitTimeout) {
^
In file included from C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRLremote.h:45:0,
from colorMusic_v2.10.ino:206:
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_NecAPI.h: In member function ‘void CNecAPI<callback, address>::read()’:
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_NecAPI.h:72:8: error: ‘data’ does not name a type
auto data = CNec::read();
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_NecAPI.h:75:28: error: request for member ‘address’ in ‘CIRL_DecodeSpaces<CNec, 4>::data’, which is of non-class type ‘uint8_t [4] {aka unsigned char [4]}’
bool firstCommand = data.address != 0xFFFF;
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_NecAPI.h:76:13: error: request for member ‘address’ in ‘CIRL_DecodeSpaces<CNec, 4>::data’, which is of non-class type ‘uint8_t [4] {aka unsigned char [4]}’
if ((data.address == 0) || (address && firstCommand && (data.address != address)))
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_NecAPI.h:76:64: error: request for member ‘address’ in ‘CIRL_DecodeSpaces<CNec, 4>::data’, which is of non-class type ‘uint8_t [4] {aka unsigned char [4]}’
if ((data.address == 0) || (address && firstCommand && (data.address != address)))
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_NecAPI.h:96:14: error: request for member ‘command’ in ‘CIRL_DecodeSpaces<CNec, 4>::data’, which is of non-class type ‘uint8_t [4] {aka unsigned char [4]}’
if (data.command == lastCommand)
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_NecAPI.h:124:24: error: request for member ‘command’ in ‘CIRL_DecodeSpaces<CNec, 4>::data’, which is of non-class type ‘uint8_t [4] {aka unsigned char [4]}’
lastCommand = data.command;
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_NecAPI.h: In member function ‘uint32_t CNecAPI<callback, address>::nextTimeout()’:
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_NecAPI.h:205:10: error: ‘time’ does not name a type
auto time = timeout();
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_NecAPI.h:206:10: error: ‘timeout’ does not name a type
auto timeout = getTimeout();
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_NecAPI.h:208:8: error: ‘time’ was not declared in this scope
if(time >= timeout) {
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_NecAPI.h:212:22: error: ‘time’ was not declared in this scope
return timeout — time;
^
In file included from C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRLremote.h:47:0,
from colorMusic_v2.10.ino:206:
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Hash.h: In static member function ‘static void CHashIR::interrupt()’:
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Hash.h:180:10: error: ‘duration’ does not name a type
auto duration = nextTime();
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Hash.h:183:8: error: ‘duration’ was not declared in this scope
if(duration >= HASHIR_TIMEOUT)
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Hash.h:213:18: error: ‘oldval’ does not name a type
auto oldval = lastDuration;
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Hash.h:214:18: error: ‘newval’ does not name a type
auto newval = duration;
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Hash.h:220:17: error: ‘newval’ was not declared in this scope
if (newval < (oldval * 3 / 4)) {
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Hash.h:220:27: error: ‘oldval’ was not declared in this scope
if (newval < (oldval * 3 / 4)) {
^
C:\Users\USER\Documents\Arduino\libraries\IRLremote-master\src/IRL_Hash.h:240:28: error: ‘duration’ was not declared in this scope
lastDuration = duration;
^
colorMusic_v2.10.ino: In function ‘void remoteTick()’:
colorMusic_v2.10:688: error: ‘data’ does not name a type
colorMusic_v2.10:689: error: ‘data’ was not declared in this scope
Multiple libraries were found for «FHT.h»

Used: C:\Users\USER\Documents\Arduino\libraries\FHT

Not used: C:\Program Files (x86)\Arduino\libraries\FHT

Multiple libraries were found for «EEPROMex.h»

Used: C:\Users\USER\Documents\Arduino\libraries\EEPROMex

Not used: C:\Program Files (x86)\Arduino\libraries\EEPROMex

Multiple libraries were found for «FastLED.h»

Used: C:\Users\USER\Documents\Arduino\libraries\FastLED-master

Not used: C:\Program Files (x86)\Arduino\libraries\FastLED-master

Multiple libraries were found for «GyverButton.h»

Used: C:\Users\USER\Documents\Arduino\libraries\GyverButton

Not used: C:\Program Files (x86)\Arduino\libraries\GyverButton

Multiple libraries were found for «IRLremote.h»

Used: C:\Users\USER\Documents\Arduino\libraries\IRLremote-master

Not used: C:\Program Files (x86)\Arduino\libraries\IRLremote-master

‘data’ does not name a type

Понравилась статья? Поделить с друзьями:
  • Grbl коды ошибок
  • Google ошибка 403 iphone
  • Google родительский контроль произошла ошибка
  • Google проверка обновлений произошла ошибка
  • Google переводчик ошибка перевода