0

I have been successful in using SoftwareSerial to pass AT commands to an HM-10 module. But, I want to use Hardware Rx/Tx pins (Digital pins 0/1) to do the same. Is there any library available for this purpose? Or, how do I achieve this?

1 Answers1

0

You can use the hardware serial, but I advise you not to.
Rx/Tx pins are shared with USB to serial, so you cannot use the serial-monitor or upload to the Arduino without disconnecting your HM10.

GrooverFromHolland
  • 971
  • 1
  • 11
  • 18