You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.
I am trying to create a second Hardware UART Serial Port on my Arduino NANO33 BLE, but I keep getting the error: no matching function for call to 'arduino::UART::UART(PinName&, PinName&, PinName, PinName)'
I followed your instructions at #38
but to no avail. I am attaching the code I am using as well.
Hi @cacodoxy ,
you need to update the core version to 1.1.3 (the signature of UART constructor didn't accept RTS and CTS before, so we added them here 87a622f).
Please reopen if it's not working for you., thanks!
Hi, I would like to use a second uart, too.
But when I type "UART" on the Arduino IDE, it isn't recognized by the compilator.
Furthermore I'm not able to find header files named wiring_private.h and Arduino.h.
Thanks in advance for the response.
@Technorico make sure you select Nano 33 BLE from boards menu before compiling. This core doesn't provide any wiring_private.h that, hence the name, is private and shouldn't be used for any user facing code.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am trying to create a second Hardware UART Serial Port on my Arduino NANO33 BLE, but I keep getting the error: no matching function for call to 'arduino::UART::UART(PinName&, PinName&, PinName, PinName)'
I followed your instructions at #38
but to no avail. I am attaching the code I am using as well.
#include "Arduino.h"
#include "wiring_private.h"
#include "HardwareSerial.h"
#include <Serial.h>
void setup() {
UART mySerial(digitalPinToPinName(4), digitalPinToPinName(3), NC, NC);
}
...
When I move the UART outside the setup code, I get the same thing. Please help.
The text was updated successfully, but these errors were encountered: