I do mini project

Practical realization of single-phase inverter control with arduino uno
Variation of pwm by two buttons (up and down) and frequencies 50 hz fixed
And give me a program and schema of realization
thank you