Close

Slight rewiring required to get PWM to work

A project log for less-smog.org

Raising awareness about air pollution one city block at a time.

jan-szumiecJan Szumiec 05/02/2018 at 13:190 Comments

We've discovered that there's a problem driving our LEDs via PWM - the library we're using doesn't let us use GPIO16 as a PWM pin. We think the best way to solve this would be to rewire the pins around a bit.

INPUT / OUTPUT LABELOLD GPIONEW GPIO
HTU_SDAGPIO5GPIO0
LED_B_CTRLGPIO16GPIO5
HTU_SCLGPIO4GPIO2

Discussions