Code for Arduino nano+HM10 Bluetooth SoftwareSerial+HW Ser. Debugging

This Sketch uses the Software Serial on Pin 10/11 for the HM10 BLE Module. The debugging works still fine over the hardware serial over USB.

#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX

#define BLYNK_PRINT Serial
#include <BlynkSimpleSerialBLE.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "";

void setup()
  // Debug console

  // Blynk will work through Serial
  // Do not read or write this serial manually in your sketch
  Blynk.begin(mySerial, auth);

void loop()