Arduino Yun Rev 2 - An issue with using serial output and WiFi

I can’t receive data from my 801S Vibration Sensor Module (SE040). Could you tell me what I should add to this code or I should change?
I am wondering that I have to add: Console.print() and something more.

#include<Console.h>
#include<Bridge.h>
int Led=13;
int ledPin=12;
int buttonpin=7;
int sensorPin = A5;
int sensorValue = 0;
int val;
 void setup()
{
delay(50);
Bridge.begin();
Console.begin();
while(!Console){
}
Console.println("You are connected to the Console!");
//Init serial
Serial.begin(9600);
pinMode(Led,OUTPUT);
 pinMode(ledPin, OUTPUT);
pinMode(buttonpin,INPUT);
 }
void loop()
{
  sensorValue = analogRead(sensorPin);
  digitalWrite(ledPin, HIGH);
delay(sensorValue);
  digitalWrite(ledPin, LOW);
delay(sensorValue);
 Serial.println(sensorValue, DEC);
val=digitalRead(buttonpin);
if(val==HIGH)
{
digitalWrite(Led,HIGH);
}
else
{
digitalWrite(Led,LOW);
}
}

In your while loop in the setup section, you have used semi-colon ; , there's no need of that.

Moreover, add some delay at the start.

Lastly, are you receiving "You are connected to the Console!" in your Serial Terminal ??

I have added a delay at start and I have removed a semi-colon as well what you mentioned.
yes, I am receiving "You are connected to the Console!" in my Serial Terminal.
After this I am moving my Vibration Sensor but I am not receiving nothing more.
What can I change else to fix it?

In your code you haven't made sensorPin input so use this command in setup loop: pinMode(sensorPin,INPUT);

Moreover, comment all your code in loop section and just get sensor value and display it on serial monitor.

Your code seems fine btw, may be your connections are not correct or your sensor is faulty.

You can use multimeter to check output of your sensor and see if its changing or not ?

i have checked all my connections, they are correct. My sensor is not faulty because it’s lighting, I have checked my potentiometer. If I am changing of position of potentiometer, a sensor is turn off or turn on. If I and I have corrected a code. The code is a very simple now.
I can verify and upload a code. There are not any errors.

I have a question? What is the best way to check output of your sensor and see if its changing or not using multimeter?

I am using an attached sensor.

#include<Console.h>
#include<Bridge.h>

int buttonpin=7;
int sensorPin = A5;
int sensorValue = 0;

 void setup()
{
  //some delay at start
delay(50);
Bridge.begin();
Console.begin();
while(!Console){
}
Console.println("You are connected to the Console!");
//Init serial
Serial.begin(9600);
pinMode(sensorPin,INPUT);

 }
void loop()
{
 sensorValue = analogRead(sensorPin);
 Serial.println(sensorValue, DEC);
}