Luke_tx:
Now, I am using the SoftwareSerial library, to send the value of the DigitalRead(pin) through bluetooth on another device I would have to use the function << BluetoothData=Lukebt.read(pin);>> ?
Just use
BluetoothData=Lukebt.read();
...R