hello there is no define.h file in esp compilation
and I have errors:
Arduino:1.8.12 (Mac OS X), Płytka:"Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
In file included from sketch/flywheel.cpp:3:0:
settings.h:11:3: error: 'fireMode' does not name a type
fireMode FireMode;
^
settings.h:21:38: error: 'fireMode' has not been declared
Settings(int shots, int firespeed, fireMode modus, int clipsize);
^
settings.h:45:3: error: 'fireMode' does not name a type
fireMode getFireMode();
^
settings.h:46:20: error: 'fireMode' has not been declared
void setFireMode(fireMode value);
^
In file included from sketch/buttons.cpp:3:0:
oled.h:13:37: error: 'fireMode' has not been declared
void drawMode(OLEDDisplay display, fireMode transport, int16_t x, int16_t y);
^
oled.h:18:42: error: 'fireMode' has not been declared
void drawModeSetup(OLEDDisplay display, fireMode transport, int16_t x, int16_t y);
^
In file included from sketch/buttons.cpp:5:0:
settings.h:11:3: error: 'fireMode' does not name a type
fireMode FireMode;
^
settings.h:21:38: error: 'fireMode' has not been declared
Settings(int shots, int firespeed, fireMode modus, int clipsize);
^
settings.h:45:3: error: 'fireMode' does not name a type
fireMode getFireMode();
^
settings.h:46:20: error: 'fireMode' has not been declared
void setFireMode(fireMode value);
^
sketch/buttons.cpp: In function 'void getButtons()':
buttons.cpp:12:18: error: 'class PCF8574' has no member named 'read'
if(!PCF_button.read(PCF_MENU)){
^
buttons.cpp:12:23: error: 'PCF_MENU' was not declared in this scope
if(!PCF_button.read(PCF_MENU)){
^
sketch/buttons.cpp: In function 'void btnIsr()':
buttons.cpp:19:29: error: 'class PCF8574' has no member named 'read8'
Serial.println(PCF_button.read8());
^
sketch/buttons.cpp: In function 'void initButtons()':
buttons.cpp:176:17: error: 'PCF_INT' was not declared in this scope
attachInterrupt(PCF_INT, btnIsr, CHANGE);
^
In file included from /Users/iseu/Desktop/DUFDL-master-2/Firmware/DUFDL-ESP/DUFDL-ESP.ino:2:0:
oled.h:13:37: error: 'fireMode' has not been declared
void drawMode(OLEDDisplay display, fireMode transport, int16_t x, int16_t y);
^
oled.h:18:42: error: 'fireMode' has not been declared
void drawModeSetup(OLEDDisplay display, fireMode transport, int16_t x, int16_t y);
^
In file included from sketch/oled.cpp:1:0:
oled.h:13:37: error: 'fireMode' has not been declared
void drawMode(OLEDDisplay display, fireMode transport, int16_t x, int16_t y);
^
oled.h:18:42: error: 'fireMode' has not been declared
void drawModeSetup(OLEDDisplay display, fireMode transport, int16_t x, int16_t y);
^
In file included from sketch/oled.cpp:8:0:
settings.h:11:3: error: 'fireMode' does not name a type
fireMode FireMode;
^
settings.h:21:38: error: 'fireMode' has not been declared
Settings(int shots, int firespeed, fireMode modus, int clipsize);
^
settings.h:45:3: error: 'fireMode' does not name a type
fireMode getFireMode();
^
settings.h:46:20: error: 'fireMode' has not been declared
void setFireMode(fireMode value);
^
oled.cpp:16:1: error: 'fireMode' does not name a type
fireMode displayMode = Single;
^
sketch/oled.cpp: In function 'void drawStatus(OLEDDisplay, OLEDDisplayUiState, int16_t, int16_t)':
oled.cpp:49:27: error: 'class Settings' has no member named 'getFireMode'
drawMode(display,setting.getFireMode(),x,y);
^
sketch/oled.cpp: In function 'void drawModeSetting(OLEDDisplay, OLEDDisplayUiState, int16_t, int16_t)':
oled.cpp:55:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
display->setFont(FONT_SMALL);
^
In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0,
from sketch/oled.h:4,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive]
void setFont(const uint8_t fontData);
^
oled.cpp:56:33: error: 'class Settings' has no member named 'getFireMode'
drawModeSetup(display,setting.getFireMode(),x,y);
^
sketch/oled.cpp: In function 'void drawBatteryStat(OLEDDisplay, OLEDDisplayUiState, int16_t, int16_t)':
oled.cpp:63:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
display->setFont(FONT_SMALL);
^
In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0,
from sketch/oled.h:4,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive]
void setFont(const uint8_t fontData);
^
sketch/oled.cpp: In function 'void drawClipSetting(OLEDDisplay, OLEDDisplayUiState, int16_t, int16_t)':
oled.cpp:80:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
display->setFont(FONT_SMALL);
^
In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0,
from sketch/oled.h:4,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive]
void setFont(const uint8_t fontData);
^
oled.cpp:82:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
display->setFont(FONT_LARGE);
^
In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0,
from sketch/oled.h:4,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive]
void setFont(const uint8_t fontData);
^
sketch/oled.cpp: At global scope:
oled.cpp:91:37: error: 'fireMode' has not been declared
void drawMode(OLEDDisplay display, fireMode transport, int16_t x, int16_t y){
^
sketch/oled.cpp: In function 'void drawMode(OLEDDisplay, int, int16_t, int16_t)':
oled.cpp:92:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
display->setFont(FONT_SMALL);
^
In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0,
from sketch/oled.h:4,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive]
void setFont(const uint8_t fontData);
^
sketch/oled.cpp: At global scope:
oled.cpp:98:42: error: 'fireMode' has not been declared
void drawModeSetup(OLEDDisplay display, fireMode transport, int16_t x, int16_t y){
^
sketch/oled.cpp: In function 'void drawModeSetup(OLEDDisplay, int, int16_t, int16_t)':
oled.cpp:99:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
display->setFont(FONT_SMALL);
^
In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0,
from sketch/oled.h:4,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive]
void setFont(const uint8_t fontData);
^
oled.cpp:101:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
display->setFont(FONT_LARGE);
^
In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0,
from sketch/oled.h:4,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive]
void setFont(const uint8_t fontData);
^
sketch/oled.cpp: In function 'void drawShots(OLEDDisplay, int, int16_t, int16_t)':
oled.cpp:109:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
display->setFont(FONT_SMALL);
^
In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0,
from sketch/oled.h:4,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive]
void setFont(const uint8_t fontData);
^
oled.cpp:111:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
display->setFont(FONT_LARGE);
^
In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0,
from sketch/oled.h:4,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive]
void setFont(const uint8_t fontData);
^
sketch/oled.cpp: In function 'void drawClip(OLEDDisplay, int16_t, int16_t)':
oled.cpp:119:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
display->setFont(FONT_SMALL);
^
In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0,
from sketch/oled.h:4,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive]
void setFont(const uint8_t fontData);
^
oled.cpp:121:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
display->setFont(FONT_LARGE);
^
In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0,
from sketch/oled.h:4,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive]
void setFont(const uint8_t fontData);
^
oled.cpp:132:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
display->setFont(FONT_SMALL);
^
In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0,
from sketch/oled.h:4,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive]
void setFont(const uint8_t fontData);
^
sketch/oled.cpp: In function 'void drawSpeed(OLEDDisplay, int, int16_t, int16_t)':
oled.cpp:147:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
display->setFont(FONT_SMALL);
^
In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0,
from sketch/oled.h:4,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive]
void setFont(const uint8_t fontData);
^
sketch/oled.cpp: In function 'void initOLED()':
oled.cpp:175:34: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
ui.setActiveSymbol(activeSymbol);
^
In file included from sketch/oled.h:4:0,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:253:10: error: initializing argument 1 of 'void OLEDDisplayUi::setActiveSymbol(const uint8_t)' [-fpermissive]
void setActiveSymbol(const uint8_t symbol);
^
oled.cpp:176:38: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive]
ui.setInactiveSymbol(inactiveSymbol);
^
In file included from sketch/oled.h:4:0,
from sketch/oled.cpp:1:
/Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:258:10: error: initializing argument 1 of 'void OLEDDisplayUi::setInactiveSymbol(const uint8_t)' [-fpermissive]
void setInactiveSymbol(const uint8_t symbol);
^
In file included from sketch/settings.cpp:1:0:
settings.h:11:3: error: 'fireMode' does not name a type
fireMode FireMode;
^
settings.h:21:38: error: 'fireMode' has not been declared
Settings(int shots, int firespeed, fireMode modus, int clipsize);
^
settings.h:45:3: error: 'fireMode' does not name a type
fireMode getFireMode();
^
settings.h:46:20: error: 'fireMode' has not been declared
void setFireMode(fireMode value);
^
settings.cpp:7:46: error: 'fireMode' has not been declared
Settings::Settings(int shots, int firespeed, fireMode modus, int clipsize){
^
sketch/settings.cpp: In constructor 'Settings::Settings(int, int, int, int)':
settings.cpp:10:12: error: expected unqualified-id before '=' token
FireMode = modus;
^
sketch/settings.cpp: At global scope:
settings.cpp:103:1: error: 'fireMode' does not name a type
fireMode Settings::getFireMode(){
^
settings.cpp:107:28: error: variable or field 'setFireMode' declared void
void Settings::setFireMode(fireMode value){
^
settings.cpp:107:28: error: 'fireMode' was not declared in this scope
sketch/settings.cpp: In member function 'void Settings::setNextFireMode()':
settings.cpp:115:6: error: 'FireMode' is not a template
if(FireMode < 3) FireMode=fireMode(FireMode+1);
^
settings.cpp:115:18: error: expected primary-expression before ')' token
if(FireMode < 3) FireMode=fireMode(FireMode+1);
^
settings.cpp:115:28: error: expected unqualified-id before '=' token
if(FireMode < 3) FireMode=fireMode(FireMode+1);
^
sketch/settings.cpp: In member function 'void Settings::setPrevFireMode()':
settings.cpp:121:15: error: expected primary-expression before '>' token
if(FireMode > 0 ) FireMode=fireMode(FireMode-1);
^
settings.cpp:121:29: error: expected unqualified-id before '=' token
if(FireMode > 0 ) FireMode=fireMode(FireMode-1);
^
Znaleziono wiele bibliotek w "Servo.h"
Wykorzystane: /Users/iseu/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.1/libraries/Servo
Niewykorzystane: /private/var/folders/hx/ql2sdl8x69x55pl6gpk562100000gn/T/AppTranslocation/0C1FC777-44DD-4573-8036-22313EDD3469/d/Arduino.app/Contents/Java/libraries/Servo
exit status 1
'fireMode' does not name a type
Ten raport powinien zawierać więcej informacji jeśli w
File -> Preferencje zostanie włączona opcja "Pokaż
szczegółowe informacje podczas kompilacji"
hello there is no define.h file in esp compilation and I have errors: Arduino:1.8.12 (Mac OS X), Płytka:"Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
In file included from sketch/flywheel.cpp:3:0: settings.h:11:3: error: 'fireMode' does not name a type fireMode FireMode; ^ settings.h:21:38: error: 'fireMode' has not been declared Settings(int shots, int firespeed, fireMode modus, int clipsize); ^ settings.h:45:3: error: 'fireMode' does not name a type fireMode getFireMode(); ^ settings.h:46:20: error: 'fireMode' has not been declared void setFireMode(fireMode value); ^ In file included from sketch/buttons.cpp:3:0: oled.h:13:37: error: 'fireMode' has not been declared void drawMode(OLEDDisplay display, fireMode transport, int16_t x, int16_t y); ^ oled.h:18:42: error: 'fireMode' has not been declared void drawModeSetup(OLEDDisplay display, fireMode transport, int16_t x, int16_t y); ^ In file included from sketch/buttons.cpp:5:0: settings.h:11:3: error: 'fireMode' does not name a type fireMode FireMode; ^ settings.h:21:38: error: 'fireMode' has not been declared Settings(int shots, int firespeed, fireMode modus, int clipsize); ^ settings.h:45:3: error: 'fireMode' does not name a type fireMode getFireMode(); ^ settings.h:46:20: error: 'fireMode' has not been declared void setFireMode(fireMode value); ^ sketch/buttons.cpp: In function 'void getButtons()': buttons.cpp:12:18: error: 'class PCF8574' has no member named 'read' if(!PCF_button.read(PCF_MENU)){ ^ buttons.cpp:12:23: error: 'PCF_MENU' was not declared in this scope if(!PCF_button.read(PCF_MENU)){ ^ sketch/buttons.cpp: In function 'void btnIsr()': buttons.cpp:19:29: error: 'class PCF8574' has no member named 'read8' Serial.println(PCF_button.read8()); ^ sketch/buttons.cpp: In function 'void initButtons()': buttons.cpp:176:17: error: 'PCF_INT' was not declared in this scope attachInterrupt(PCF_INT, btnIsr, CHANGE); ^ In file included from /Users/iseu/Desktop/DUFDL-master-2/Firmware/DUFDL-ESP/DUFDL-ESP.ino:2:0: oled.h:13:37: error: 'fireMode' has not been declared void drawMode(OLEDDisplay display, fireMode transport, int16_t x, int16_t y); ^ oled.h:18:42: error: 'fireMode' has not been declared void drawModeSetup(OLEDDisplay display, fireMode transport, int16_t x, int16_t y); ^ In file included from sketch/oled.cpp:1:0: oled.h:13:37: error: 'fireMode' has not been declared void drawMode(OLEDDisplay display, fireMode transport, int16_t x, int16_t y); ^ oled.h:18:42: error: 'fireMode' has not been declared void drawModeSetup(OLEDDisplay display, fireMode transport, int16_t x, int16_t y); ^ In file included from sketch/oled.cpp:8:0: settings.h:11:3: error: 'fireMode' does not name a type fireMode FireMode; ^ settings.h:21:38: error: 'fireMode' has not been declared Settings(int shots, int firespeed, fireMode modus, int clipsize); ^ settings.h:45:3: error: 'fireMode' does not name a type fireMode getFireMode(); ^ settings.h:46:20: error: 'fireMode' has not been declared void setFireMode(fireMode value); ^ oled.cpp:16:1: error: 'fireMode' does not name a type fireMode displayMode = Single; ^ sketch/oled.cpp: In function 'void drawStatus(OLEDDisplay, OLEDDisplayUiState, int16_t, int16_t)': oled.cpp:49:27: error: 'class Settings' has no member named 'getFireMode' drawMode(display,setting.getFireMode(),x,y); ^ sketch/oled.cpp: In function 'void drawModeSetting(OLEDDisplay, OLEDDisplayUiState, int16_t, int16_t)': oled.cpp:55:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] display->setFont(FONT_SMALL); ^ In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0, from sketch/oled.h:4, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive] void setFont(const uint8_t fontData); ^ oled.cpp:56:33: error: 'class Settings' has no member named 'getFireMode' drawModeSetup(display,setting.getFireMode(),x,y); ^ sketch/oled.cpp: In function 'void drawBatteryStat(OLEDDisplay, OLEDDisplayUiState, int16_t, int16_t)': oled.cpp:63:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] display->setFont(FONT_SMALL); ^ In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0, from sketch/oled.h:4, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive] void setFont(const uint8_t fontData); ^ sketch/oled.cpp: In function 'void drawClipSetting(OLEDDisplay, OLEDDisplayUiState, int16_t, int16_t)': oled.cpp:80:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] display->setFont(FONT_SMALL); ^ In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0, from sketch/oled.h:4, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive] void setFont(const uint8_t fontData); ^ oled.cpp:82:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] display->setFont(FONT_LARGE); ^ In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0, from sketch/oled.h:4, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive] void setFont(const uint8_t fontData); ^ sketch/oled.cpp: At global scope: oled.cpp:91:37: error: 'fireMode' has not been declared void drawMode(OLEDDisplay display, fireMode transport, int16_t x, int16_t y){ ^ sketch/oled.cpp: In function 'void drawMode(OLEDDisplay, int, int16_t, int16_t)': oled.cpp:92:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] display->setFont(FONT_SMALL); ^ In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0, from sketch/oled.h:4, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive] void setFont(const uint8_t fontData); ^ sketch/oled.cpp: At global scope: oled.cpp:98:42: error: 'fireMode' has not been declared void drawModeSetup(OLEDDisplay display, fireMode transport, int16_t x, int16_t y){ ^ sketch/oled.cpp: In function 'void drawModeSetup(OLEDDisplay, int, int16_t, int16_t)': oled.cpp:99:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] display->setFont(FONT_SMALL); ^ In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0, from sketch/oled.h:4, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive] void setFont(const uint8_t fontData); ^ oled.cpp:101:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] display->setFont(FONT_LARGE); ^ In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0, from sketch/oled.h:4, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive] void setFont(const uint8_t fontData); ^ sketch/oled.cpp: In function 'void drawShots(OLEDDisplay, int, int16_t, int16_t)': oled.cpp:109:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] display->setFont(FONT_SMALL); ^ In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0, from sketch/oled.h:4, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive] void setFont(const uint8_t fontData); ^ oled.cpp:111:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] display->setFont(FONT_LARGE);
^ In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0, from sketch/oled.h:4, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive] void setFont(const uint8_t fontData); ^ sketch/oled.cpp: In function 'void drawClip(OLEDDisplay, int16_t, int16_t)': oled.cpp:119:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] display->setFont(FONT_SMALL); ^ In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0, from sketch/oled.h:4, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive] void setFont(const uint8_t fontData); ^ oled.cpp:121:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] display->setFont(FONT_LARGE); ^ In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0, from sketch/oled.h:4, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive] void setFont(const uint8_t fontData); ^ oled.cpp:132:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] display->setFont(FONT_SMALL); ^ In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0, from sketch/oled.h:4, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive] void setFont(const uint8_t fontData); ^ sketch/oled.cpp: In function 'void drawSpeed(OLEDDisplay, int, int16_t, int16_t)': oled.cpp:147:30: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] display->setFont(FONT_SMALL); ^ In file included from /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:43:0, from sketch/oled.h:4, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplay.h:254:10: error: initializing argument 1 of 'void OLEDDisplay::setFont(const uint8_t)' [-fpermissive] void setFont(const uint8_t fontData); ^ sketch/oled.cpp: In function 'void initOLED()': oled.cpp:175:34: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] ui.setActiveSymbol(activeSymbol); ^ In file included from sketch/oled.h:4:0, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:253:10: error: initializing argument 1 of 'void OLEDDisplayUi::setActiveSymbol(const uint8_t)' [-fpermissive] void setActiveSymbol(const uint8_t symbol); ^ oled.cpp:176:38: error: invalid conversion from 'const char' to 'const uint8_t {aka const unsigned char}' [-fpermissive] ui.setInactiveSymbol(inactiveSymbol); ^ In file included from sketch/oled.h:4:0, from sketch/oled.cpp:1: /Users/iseu/Documents/Arduino/libraries/esp8266-oled-ssd1306-master/src/OLEDDisplayUi.h:258:10: error: initializing argument 1 of 'void OLEDDisplayUi::setInactiveSymbol(const uint8_t)' [-fpermissive] void setInactiveSymbol(const uint8_t symbol); ^ In file included from sketch/settings.cpp:1:0: settings.h:11:3: error: 'fireMode' does not name a type fireMode FireMode; ^ settings.h:21:38: error: 'fireMode' has not been declared Settings(int shots, int firespeed, fireMode modus, int clipsize); ^ settings.h:45:3: error: 'fireMode' does not name a type fireMode getFireMode(); ^ settings.h:46:20: error: 'fireMode' has not been declared void setFireMode(fireMode value); ^ settings.cpp:7:46: error: 'fireMode' has not been declared Settings::Settings(int shots, int firespeed, fireMode modus, int clipsize){ ^ sketch/settings.cpp: In constructor 'Settings::Settings(int, int, int, int)': settings.cpp:10:12: error: expected unqualified-id before '=' token FireMode = modus; ^ sketch/settings.cpp: At global scope: settings.cpp:103:1: error: 'fireMode' does not name a type fireMode Settings::getFireMode(){ ^ settings.cpp:107:28: error: variable or field 'setFireMode' declared void void Settings::setFireMode(fireMode value){ ^ settings.cpp:107:28: error: 'fireMode' was not declared in this scope sketch/settings.cpp: In member function 'void Settings::setNextFireMode()': settings.cpp:115:6: error: 'FireMode' is not a template if(FireMode < 3) FireMode=fireMode(FireMode+1); ^ settings.cpp:115:18: error: expected primary-expression before ')' token if(FireMode < 3) FireMode=fireMode(FireMode+1); ^ settings.cpp:115:28: error: expected unqualified-id before '=' token if(FireMode < 3) FireMode=fireMode(FireMode+1); ^ sketch/settings.cpp: In member function 'void Settings::setPrevFireMode()': settings.cpp:121:15: error: expected primary-expression before '>' token if(FireMode > 0 ) FireMode=fireMode(FireMode-1); ^ settings.cpp:121:29: error: expected unqualified-id before '=' token if(FireMode > 0 ) FireMode=fireMode(FireMode-1); ^ Znaleziono wiele bibliotek w "Servo.h" Wykorzystane: /Users/iseu/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.1/libraries/Servo Niewykorzystane: /private/var/folders/hx/ql2sdl8x69x55pl6gpk562100000gn/T/AppTranslocation/0C1FC777-44DD-4573-8036-22313EDD3469/d/Arduino.app/Contents/Java/libraries/Servo exit status 1 'fireMode' does not name a type
Ten raport powinien zawierać więcej informacji jeśli w File -> Preferencje zostanie włączona opcja "Pokaż szczegółowe informacje podczas kompilacji"