Waldemar Lima Well-Known Member Licensed User Feb 28, 2018 #1 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 ?
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 Feb 28, 2018 #2 B4X: Private BTSerial As SoftwareSerial Upvote 0
Waldemar Lima Well-Known Member Licensed User Feb 28, 2018 #3 but i dont understand why @Erel dont initialize BTSerial with : Pin TX1:18 and Pin RX1:19 ... Upvote 0
Peter Simpson Expert Licensed User Longtime User Feb 28, 2018 #4 You can initialize with any pins that you want... Upvote 0
Waldemar Lima Well-Known Member Licensed User Feb 28, 2018 #5 Peter Simpson said: You can initialize with any pins that you want... Click to expand... but on official tutorial , @Erel are using : port 18 ( TX1 ) and port 19 ( RX1 ) to use HC-05 dont understand why him dont initialize this both Ports on code ... Upvote 0
Peter Simpson said: You can initialize with any pins that you want... Click to expand... but on official tutorial , @Erel are using : port 18 ( TX1 ) and port 19 ( RX1 ) to use HC-05 dont understand why him dont initialize this both Ports on code ...
Peter Simpson Expert Licensed User Longtime User Feb 28, 2018 #6 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
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...