B4R Question Question about rSoftwareSerial

Waldemar Lima

Well-Known Member
Licensed User
Longtime User
hi everyone !
i am learn abount rSoftwareSerial , but i have a question .

using rSoftwareSerial with HC-05 Bluetooth ( OFFICIAL ) , i dont see where can i set RX and TX port on code ... it initialize automatic ?
 

derez

Expert
Licensed User
Longtime User
B4X:
Private BTSerial As SoftwareSerial

upload_2018-2-28_8-17-45.png
 
Upvote 0

Peter Simpson

Expert
Licensed User
Longtime User
If you are already using pins 18 and 19 for something else, then you can use other pins instead, thus you BTS.Initialie(9600, RXPin, TXPin), there's nothing complicated about that...
 
Upvote 0
Top