Can i ask somthing? ... hardware serial TX0 RX1 Serial1?

#1

hardware serial TX0 RX1 Serial1 ??? BLE lib use Serial1

then TX0 RX1 pin CAN NOT USE as Serial commuincation pin ???

BLE LIB USE Serial1

tx0 rx1 pin can us use Serial2 or Serial3 ???

how can i use tx0 rx1 pin when using Serial1 at AB_BLE LIB ???

ex))
AB_BLE.h
AB_BLE ble(&Serial1);

#2

Do you talk about BlueDuino?

  • The TXO, RXI are pins for Serial1.
  • BlueDuino have only Serial, Serial1. No Serial2, Serial3.
  • Serial is the usb virtual part port

Yes. You’re right. Here’s an example code.

#3

when i using hardware serial, what is number software serial pin ? i can find D11 , D12 pin ???

what is software serial pin ??? D11, D12 PIN not exist in blueduino ~

#4

I’m wonder why you using hardware serial but you ask for software serial pins. You can use Serial1 to replace software serial directly.

Do you mean you want to change the hardware serial port to software serial?

#5

i just want to ble hardware serial (Serial1) and at the same time to use software serial (swSeiral)

because hardware serial BLE LIB (Serial1) using it and i want to notify to smart phone changed major or minor value at the same time to same phone~ so added the other beacon so we can change major, minor value through software serial commuincation ~ can you help me? D9 D10 PIN can’t using swSerial …

#6

Please check the page. You can use D8, D9 if you only need another software serial port.

Not all pins on the Leonardo and Micro support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).

#7

That is the Key infomation I was looking for. thank you so much !!!