B4R Question Arduino Serial Port

iCAB

Well-Known Member
Licensed User
Longtime User
Hi All

If I understood properly from what I have been reading in this forum, we are unable to use the main serial port on the arduino (for example Arduino Nano) in a real application, instead it is recommended to use SoftwareSerial.

Can someone comment please.
if the above is true ,why can't we compile the final program to use the actual hardware serial port?
 

iCAB

Well-Known Member
Licensed User
Longtime User
Thanks Peter for your reply.
I clearly understand that. But what i am wondering about, is how to use the Hardware UART (on boards with a single UART) as I see all examples start with
B4X:
 Serial1.Initialize(115200)
which I am assuming it takes over the UART.
I know I can use the software serial ports, but I think they come with extra overhead, so I would rather avoid that if possible

Am I missing something?
Thanks in advance
 
Upvote 0
Top