You only can generate Digital Waveform(High-Low signal) through "digital output"
If you want to generate an analog output such as a sine wave, you have to use "analog output"
Okay, Thank you, Sir...
Can I generate PWM with digital output?
Yes, you can generate PWM pulse with digital output.
However, you need to do some coding to apply Duty cycle control.
You also can use Counter Output to generate PWM pulse.
If you use Counter Output, you don't need to do the coding for that.
Can I use one line in digital output to generate PWM?
Can you please share a code of generating a PWM with digital pin.