做手指测心跳时,arduino怎么把串口值输出到lcd显示屏

不知道什么问题,proteus中lcd显示一直是255,不能显示值
以下是代码
int sensorPin=A0;
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(13, 12, 11, 10, 9, 8);

double alpha=0.75;

void setup()
{
pinMode(A0,INPUT);
Serial.begin(115200);
// Print a message to the LCD.
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("heart rate");
lcd.setCursor(0, 1);
lcd.print("value: ");
Serial.begin(115200);

}

void loop() {
double oldValue=0;
int rawValue=analogRead(sensorPin);
double value=alpha*oldValue+(1-alpha)*rawValue;
Serial.println(value);
oldValue=value;
delay(100);
lcd.setCursor(6,1);

}

Serial.println(value);
value这个数在loop里输出到串口,lcd显示函数呢。