updating the nextPage() function

Enabling PWM functionality of c3 pin according to lab manual