I would like to use hardware PWM on a GPIO port to generate RC-5 IR codes with an IR LED.
I read that .NET Core now has PWM support and that the Pi has at least one PWM-enabled GPIO pin, but I can find precious little documentation on how to access it. The
PwmChannel.Create() method requires a chip number, and passing 0 doesn't work.
I'm hoping that the hardware can provide the 36 kHz carrier signal, and the
Stopwatch.GetTimestamp() method should give me sufficient resolution to generate the RC-5 output over it... but I just can't get
I would be very glad of any pointers on how to do this... or am I on the wrong track altogether?