co2 sensor garbage characters on serial monitor

This code works very well. The one posted on the website did not work for me. There must be an error with it. Can you guys look into it?