How to test if a led is on without looking at it?

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