Replies: 1 comment 2 replies
-
Are you using board manager v2.0.17? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I bought a TEF6686 module which looks different from your website version and there are errors of "tuner not detected" error. I found some post say its I2c address is 0x65 instead of 0x64 as usual. I tried to edit "\src\Tuner_Interface.cpp" to change 0x64 into 0x65 in several lines like "Wire.beginTransmission(0x65);". Then I tried to compile the code but there was constant error. Would you offer me some help please? I use python often but know nothing about C and Arbuino. Thanks a lot!
In file included from X:\V200\TEF6686_ESP32\src\WiFiConnect.h:32,
from X:\V200\TEF6686_ESP32\TEF6686_ESP32.ino:12:
C:\Users\Eric\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.3\libraries\WebServer\src/WebServer.h:222:32: error: 'FS' was not declared in this scope; did you mean 'fs::FS'?
222 | typedef std::function<String(FS &fs, const String &fName)> ETagFunction;
| ^~
| fs::FS
In file included from c:\Users\Eric\Documents\Arduino\libraries\TFT_eSPI/Processors/TFT_eSPI_ESP32.h:138,
from c:\Users\Eric\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:101,
from X:\V200\TEF6686_ESP32\TEF6686_ESP32.ino:10:
C:\Users\Eric\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.3\libraries\FS\src/FS.h:87:7: note: 'fs::FS' declared here
87 | class FS {
| ^~
C:\Users\Eric\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.3\libraries\WebServer\src/WebServer.h:222:32: error: 'FS' was not declared in this scope; did you mean 'fs::FS'?
222 | typedef std::function<String(FS &fs, const String &fName)> ETagFunction;
| ^~
| fs::FS
C:\Users\Eric\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.3\libraries\FS\src/FS.h:87:7: note: 'fs::FS' declared here
87 | class FS {
| ^~
C:\Users\Eric\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.3\libraries\WebServer\src/WebServer.h:222:60: error: template argument 1 is invalid
222 | typedef std::function<String(FS &fs, const String &fName)> ETagFunction;
| ^
C:\Users\Eric\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.3\libraries\WebServer\src/WebServer.h:223:50: error: could not convert 'nullptr' from 'std::nullptr_t' to 'WebServer::ETagFunction' {aka 'int'}
223 | void enableETag(bool enable, ETagFunction fn = nullptr);
| ^~~~~~~
| |
| std::nullptr_t
C:\Users\Eric\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.3\libraries\WebServer\src/WebServer.h:240:32: error: cannot convert 'std::nullptr_t' to 'WebServer::ETagFunction' {aka 'int'} in initialization
240 | ETagFunction _eTagFunction = nullptr;
| ^~~~~~~
X:\V200\TEF6686_ESP32\TEF6686_ESP32.ino: In function 'void ScreensaverTimerInit()':
X:\V200\TEF6686_ESP32\TEF6686_ESP32.ino:1048:30: error: too many arguments to function 'hw_timer_t* timerBegin(uint32_t)'
1048 | timScreensaver = timerBegin(0, 80, true);
| ~~~~~~~~~~^~~~~~~~~~~~~
In file included from C:\Users\Eric\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.3\cores\esp32/esp32-hal.h:98,
from C:\Users\Eric\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.3\cores\esp32/Arduino.h:45,
from C:\Users\Eric\AppData\Local\arduino\sketches\F4A1F4D31B8C0020ED4152502E27EBD2\sketch\TEF6686_ESP32.ino.cpp:1:
C:\Users\Eric\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.3\cores\esp32/esp32-hal-timer.h:35:13: note: declared here
35 | hw_timer_t timerBegin(uint32_t frequency);
| ^~~~~~~~~~
X:\V200\TEF6686_ESP32\TEF6686_ESP32.ino:1049:23: error: too many arguments to function 'void timerAttachInterrupt(hw_timer_t, void (*)())'
1049 | timerAttachInterrupt(timScreensaver, ScreensaverInterrupt, true);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Eric\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.3\cores\esp32/esp32-hal-timer.h:50:6: note: declared here
50 | void timerAttachInterrupt(hw_timer_t *timer, void (*userFunc)(void));
| ^~~~~~~~~~~~~~~~~~~~
X:\V200\TEF6686_ESP32\TEF6686_ESP32.ino: In function 'void ScreensaverTimerSet(byte)':
X:\V200\TEF6686_ESP32\TEF6686_ESP32.ino:1062:5: error: 'timerAlarmWrite' was not declared in this scope; did you mean 'timerWrite'?
1062 | timerAlarmWrite(timScreensaver, value * TIMER_SCREENSAVER_BASE, true);
| ^~~~~~~~~~~~~~~
| timerWrite
X:\V200\TEF6686_ESP32\TEF6686_ESP32.ino:1064:5: error: 'timerAlarmEnable' was not declared in this scope; did you mean 'timerAlarm'?
1064 | timerAlarmEnable(timScreensaver);
| ^~~~~~~~~~~~~~~~
| timerAlarm
exit status 1
Compilation error: too many arguments to function 'hw_timer_t* timerBegin(uint32_t)'
Beta Was this translation helpful? Give feedback.
All reactions