B4R Question ESP32 Serial port 2

viriato

Member
Licensed User
Longtime User
Hi
I am trying to use the second serial port on ESP32, but without success.
Can somebody help on this topic ?
Thanks
 

viriato

Member
Licensed User
Longtime User
Hi Erel,
Yes I tried it and i got the following error

Compiling code. (0.03s)
Building project (0.06s)
Compiling & deploying Ino project (Node32s - COM3) Error
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
C:\Users\fvict\DOCUME~1\B4R\B4RESP32\Objects\bin\sketch\b4r_main.cpp: In function 'void SerialNative1(B4R::Object*)':
b4r_main.cpp:9: error: '::Serial1' has not been declared
::Serial1.begin(9600);
^
b4r_main.cpp:10: error: '::Serial1' has not been declared
b4r_main::_serialnative1->wrappedStream = &::Serial1;
^
exit status 1

Thanks
 
Upvote 0
Top