Software PWM in a Raspberry Pi

La modulación por ancho de pulsos (también conocida como PWM, siglas en inglés de pulse-width modulation) de una señal o fuente de energía es una técnica en la que se modifica el ciclo de trabajo de una señal periódica (una senoidal o una cuadrada, por ejemplo), whether it is to transmit information over a communications channel, or to control the amount of energy that is sent to a load.

Mark Williams tells us in his blog, How has he been looking for ways to generate signals PWM to create similar effects in the Raspberry Pi. This allows you to control the brightness of the LED without the need to use the pin of PWM, but in a kind of simulated form. I'm going to leave to explain it in his blog. Your example code is in C, so perhaps someone can write it in language Python to make it a little easier for others to understand.

Más información | Click Here & iacute;

Be Sociable, Share!

About The Author