Just paste .PWN content to input and press Convert.
It's generate the done resource for you.