sparkfun / Arduino_Boards

Board definitions for SparkFun-manufactured AVR, ARM, and ESP-based Arduino boards.
263 stars 125 forks source link

SoftwareSerial cause freezing on Pro Micro 3.3V 8MHz #87

Closed electrogian closed 3 years ago

electrogian commented 3 years ago

Hi, I've tried to use the SoftwareSerial.h on Pro Micro 3.3V 8MHz and set it on pins 9 & 10.

#include <SoftwareSerial.h> // Library needed for Bluetooth communication #define BT_RX 9 #define BT_TX 10 // Initialize Bluetooth software serial SoftwareSerial BT(BT_TX,BT_RX);

But when i upload the code, system switch from sketch serial port to bootloader serial port, code was successfully uploaded but never can back to sketch serial port, (bootloader serial port disappear) . Instead if i try to use another port (I've tried 11 & 12) everything works fine.