This is probably a very simple task, but after some unsuccessfull hours i need your help:
I just want to change the default RX/TX pin on an Arduino 101 with Software Serial from the default 0/1 to other pins (e.g. 10/11) inside the Standard Firmata patch (.ino attached).
All this is because i'm connecting a HC-06 bluetooth module to the 101 and when using the default RX/TX pins it doesn't work (while it works fine with an Arduino UNO). I've read in another thread that it should work when changing the RX/TX ports.
What i have done so far: Basically i've added the following lines in the top:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
And these 2 lines in the setup:
mySerial.begin(9600);
Firmata.begin(mySerial);
The whole file is also attached. I would be very very gratefull for any help!
StandardFirmata_SoftwareSerial_101.ino (27.5 KB)