Switch LED with HM-10

Hello,
I try to switch led with HM-10 bluetooth module and I need help.

My phone identified the module,

I burned this sketch to arduino uno:

#include <SoftwareSerial.h>

SoftwareSerial mySerial(0,1); // RX,TX

boolean val; // HM-10 Communication Indicator

void setup()
{
Serial.begin(9600); // Communication With Computer
mySerial.begin(9600); // Communication With HM-10
pinMode (8, OUTPUT); // pinLed
}

void loop()
{
if(mySerial.available()) // There Are Communication?
{
val=(mySerial.read()); // Yes-true , No-false

if(val == true)
digitalWrite(8,HIGH);
else
digitalWrite(8,LOW);
}

delay (100);
}

I used app called "ArduDroid by TechBitar"
There are opstion to choose pins that send pulse.

I will gratefull if you tell me where I am worng.
By the way I new at arduino business but I have experience with C language.

Thanks.

That sketch is not for the ArduDroid environment.
TechBitar has a demo sketch.
ArduDroid sends long strings.
Seems like you got further with it than I ever did though. I could Pair but it never came up with a Connect for me.
I found an app that I liked better, so I use that (being more to my expectation, a 'simple' text terminal).

You are instantiating a SoftwareSerial on the same pins that Hardware Serial.
I do not thing it will ever work...