Correct use of HardwareSerial #2226
-
|
Good day @fpistm My code for The code compiles without errors, but nothing is output to the serial port, I have some suspicions. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi @brightproject Arduino_Core_STM32/variants/STM32F4xx/F401R(B-C-D-E)T/variant_generic.h Lines 147 to 152 in 63d3096 So I guess here it is the first mistake. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for your answer, but it seems to me that you did not quite understand me, and you did not ask any questions🙂 Moving on, I have a third-party library, which inside itself has an algorithm for determining the Specify this code in the library |
Beta Was this translation helpful? Give feedback.


No.
Serialis simply an alias to the specifiedSerialxdefined in the variant.Ex for generic F401RB:
Arduino_Core_STM32/variants/STM32F4xx/F401R(B-C-D-E)T/variant_generic.h
Lines 140 to 152 in c83db2e
So
SerialisSerial1.But for Generic F412ZG:
Arduino_Core_S…