Pioreactor / rpi_hardware_pwm

Access the hardware PWM of a Raspberry Pi
Other
65 stars 15 forks source link

Update __init__.py #8

Closed KDMcMullan closed 1 year ago

KDMcMullan commented 1 year ago

Correction to hardware description.

CamDavidsonPilon commented 1 year ago

Thanks @KDMcMullan - nice catch! lgtm

KDMcMullan commented 1 year ago

It's a bit of an ongoing battle when the Raspberry Pi people talk about "pins" in overlays, but they really mean GPIO numbers. I'm going to play with this library over the next few days, as I need a faster PWM. Right now, my struggle is that I have Python 3.4 installed, so no F-strings :-( Hadn't realised the hardware is built for the composite audio! Reminds me of the ZX Spectrum in the 1980s. Some of the Z80 IOs were dedicated to audio. (which, on cassette tapes, included loading and saving!)