How tom change generator frequency

Sorry to tell you that you actually need to spend some time learning about programming and about the C language.