ArduinoMega 2560

I need help pls. Can someone write the code below to programming a 0 to 5 VDC out pulse of at least 25 millisecond duration ?
and a 5 to 15?

you are in the wrong section... it's not an introductory tutorial... ➜ moved

so when is you assignment due? can we see your attempt? (have you checked the most basic tutorial of turning a led on and off for some period of time?)

if you don't want to learn, this seems a great ask for the Jobs and Paid Consultancy forum, make sure you mention your budget.

This is a double post.