Hello everyone my name is Josh I am a beginner with C code(I don’t know how to write at all), I am looking at a book: C++: A Beginner's Guide, Second Edition, Herbert Schildt.

The majority of code I need to write will be PWM (Pulse-width modulation), I want to program a PIC to turn on some LEDs based on the current time, I would like them to fade on and off(PWM). Does anyone know of some info/resource I can use to help explain how to write PWM(I don’t want anyone to write it for me)