Hi Sr,
I can make this job as you need.
I'm electronic engineer specialized in embedded programming and I work with Arduino.
I will fix all the errors and send you a perfect compilated code.
Please any question, feel free to contact me.
Best regards.
Eng. Juan M Garin