-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
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
Compiler Errors #7
Comments
There's someone else asking the same thing. This compiled last time I tried so I'm guessing something changed in how the Arduino IDE compiles, or rather it is stricter now.
|
I did manage to get it to compile and upload.
IDE Version: 1.8.18
ArduinoJSON Version: 6.21.1
Install the libraries provided in the project and it compiles without any errors.
|
Madpsy Do you know if I remove the Bluetooth module can I somehow send CIV data directly into the device via a wire? I purchased the VE2DX Device that connects to Bluetooth and gives 3 CIV outputs. |
Hello. |
Dont give up! Did you make sure to use the library's that was provided in the zip file? |
Okay. |
I think i found it. |
Arduino:1.8.18 (Mac OS X), Tarjeta:"LOLIN(WEMOS) D1 mini (clone), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, DOUT (compatible), 40MHz, 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600" /Users/joseangel/Downloads/xpa125b_controller-main/d1mini-amp-controller/d1mini-amp-controller.ino:16:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Este informe podría contener más información con |
Make sure you uninstall the newer library's first. You can also just dump them into the library folder in My Documents. If you want i can help you more over email. You can contact me at [email protected] and i will send you my number to text will be much easier. |
Here the versions of libraries and software, that work for me. IDE: Lib´s: esp8266 (in boards manager) 3.0.2 (with higher versions i get the known compiler errors) Maybe someone can fix the code for the newer versions. 73 |
Looking for assistance with getting your code compiled. I don't think the warnings are preventing it from finishing and uploading just the two errors at the end. My email is [email protected] and I am thankful for any assistance you can provide. I already have the hardware built and just need to get the code on the board.
C:\Users\K3RAW\Desktop\Amp\xpa125b_controller-main\d1mini_amp_controller_edited\d1mini_amp_controller_edited.ino: In function 'char* MAX3232serialRead(char)':
C:\Users\K3RAW\Desktop\Amp\xpa125b_controller-main\d1mini_amp_controller_edited\d1mini_amp_controller_edited.ino:329:1: error: control reaches end of non-void function [-Werror=return-type]
329 | }
| ^
C:\Users\K3RAW\Desktop\Amp\xpa125b_controller-main\d1mini_amp_controller_edited\d1mini_amp_controller_edited.ino: In function 'bool setupAmplifier(String)':
C:\Users\K3RAW\Desktop\Amp\xpa125b_controller-main\d1mini_amp_controller_edited\d1mini_amp_controller_edited.ino:451:1: error: control reaches end of non-void function [-Werror=return-type]
451 | }
| ^
cc1plus.exe: some warnings being treated as errors
The text was updated successfully, but these errors were encountered: