Can't write data into variable

Missing the Serial.begin(xxx) as well

This would have been seen right from the start if you had answered questions in #2...

You wasted everyone’s time.