Hello,
I want to generate a 50Hz signal with a 50% duty cycle with hardware PWM (I'm using pin 18). As I read that is the only pin that supports hardware pwm?
I want to use python as the programming language, and I imported the wiringpi library (not the one that comes with Raspbian btw). But how do I calculate the frequency and the duty cycle? Could someone explain or give me an example? I saw this link https://raspberrypi.stackexchange.com/q ... -frequency but I don't understand it that well.
Thanks in advance
FYI: I'm using a Raspberry Pi Zero