Please corect this code

@ kishan1234_arduino
Why did you delete some functions from the code linked to from the YouTube video ?