-
Notifications
You must be signed in to change notification settings - Fork 1k
Nucleo F401RE - Serial1 undefined #458
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
Comments
The generic instance on the Nucelo-F401RE is on If you want another serial, you can add a build_opt.h file with: One other option is to simply define it: So your code can be:
|
Thank you so much Frederic for the help, now I see my question was very trivial! |
I think this issue is natural for an Arduino user, I have faced it myself some weeks ago. |
Yes, documenting it would help a lot for new unexperienced users just like me |
You're right guys, several documentation are missing. Roger has created https://github.com/stm32duino/stm32duino.github.io |
Ok nice, I can't promise but I might help a bit to kick start the doc. |
Honestly, I don't know. Maybe a new issue can be opened to discuss about that and maybe some users could share their feedback about GitHub pages usage. |
I'm very new to this and I know I should post to the stm32duino.com forum, but there's no way to register there!
I'm working on a nucleo F401RE, trying to use Serial1 in my sketch but the compiler says it's undefined.
I can only use Serial and Serial2, but they are basically the same one and mapped to the usb, I need an alternative serial communication port.
I thought there was some other error in my code, so I made a super simple one, but I confirm this does not work on my setup.
here is a screenshot of my settings in the Arduino IDE
The text was updated successfully, but these errors were encountered: