Hello. I'm doing my first program with pwm and am encountering some difficulties to do a small project. I want to vary the voltage of an LED as the turning of a potentiometer. However, the examples I found are with PWM own libraries, which I have not. I'm using a PIC18F4550 in MPLAB X.
If anyone can help me, I will be very grateful.
If anyone can help me, I will be very grateful.