Merge pull request #30 from myyra/pwm-doc-fix

Use correct pin in the instructions
This commit is contained in:
Drahoslav Bednář 2021-08-19 02:24:55 +02:00 committed by GitHub
commit 6d1cac1060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,8 @@
A PWM example by @Drahoslav7, using the go-rpio library
Toggles a LED on physical pin 19 (mcu pin 10)
Connect a LED with resistor from pin 19 to ground.
Toggles a LED on physical pin 35 (GPIO pin 19)
Connect a LED with resistor from pin 35 to ground.
*/
@ -40,4 +40,4 @@ func main() {
time.Sleep(time.Second/32)
}
}
}
}