Compilação de erro arduino mega
Boa noite, o que fazer, como fazer, não consigo compilar?
sou iniciante, pouquíssima experiencia!!!!
sou iniciante, pouquíssima experiencia!!!!
sketch\ui.cpp: In member function 'bool<anonymous struct>::showEntry() const':
ui.cpp:111:29: error: expected primary-expression before 'const'
f = HAL::readFlashByte((const prog_char*)&filter);
^
ui.cpp:111:29: error: expected ')' before 'const'
ui.cpp:114:30: error: expected primary-expression before 'const'
f2 = HAL::readFlashByte((const prog_char*)&nofilter);
^
ui.cpp:114:30: error: expected ')' before 'const'
sketch\ui.cpp: In member function 'void UIDisplay::adjustMenuPos()':
ui.cpp:2016:41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
^
ui.cpp:2016:41: error: expected ')' before 'const'
sketch\ui.cpp: In member function 'void UIDisplay::nextPreviousAction(int8_t)':
ui.cpp:2083:41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
^
ui.cpp:2083:41: error: expected ')' before 'const'
ui.cpp:2087:43: error: expected primary-expression before 'const'
uint8_t entType = HAL::readFlashByte((const prog_char*)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command
^
ui.cpp:2087:43: error: expected ')' before 'const'
exit status 1
expected primary-expression before 'const'
Comments
What firmware version are you compileing with which arduino ide version? Does not look like the current version.
Current version requires Arduino 1.8.x while older version may need Ide 1.0.x or something in between. I guess there is a mismatch so it has problems with the C++ syntax.