I am currently writing a program to control two servos on an Arduino device via Bluetooth serialization. To my understanding, to achieve Bluetooth communication between an Arduino and a Bluetooth Module (in this case I'm using HC-05), you would use Universal Asynchronous Receive Transmit (UART) serial communication. Most sample programs I see on this use digital pin 0 for RX and digital pin 1 for TX by default to establish Bluetooth serial connection. I imported the Arduino SoftwareSerial library into my program and created an object from the SoftwareSerial class, which according to Arduino documentation, "allows serial communication on other digital pins of the Arduino, using software to replicate the functionality". The object instantiation that I am referring to is written below:
SoftwareSerial SerialBLE(0, 1); // RX, TX
I am using the UART pins on a RobotGeek Sensor Shield (which attaches on top any standard Arduino compatible board), but I am not exactly sure what pins to parameterize inside of the SoftwareSerial object, since the pins on the RobotGeek Sensor Shield differ slightly from the Arduino pins commonly used in Bluetooth example code. I checked in with RobotGeek technical support and they suggested that I take a look at this link to their documentation (http://learn.robotgeek.com/robotgeek-101-1/183-getting-started-with-robotgeek-wiring.html), specifically the section titled "Special Pins". I believe that they are hinting that I should attach my jumper cables (for RX and TX) to digital pins 0 and 1 instead of the UART pins RX-0 and TX-1. If this is true, should I attach each of my jumper cables to the Signal (S) pin of both DIO-0 and DIO-1 and parameterize 0 and 1 in my program?
