login|Register
Forum > Python
Post|
看3193|回2|Favorite
kusong 看全部
2022-7-13 12:56:11
import OPi.GPIO as GPIO
GPIO.setboard(GPIO.PCPCPLUS)

--> module 'OPi.GPIO' has no attribute 'setboard'

How to set GPIO for my LTS4?



narrowsec 看全部
2023-6-15 18:59:32
Halloween is around the corner and you are planning some celebrations batsquishmallow for your kids? Well, now is the time to make things even better by grabbing some Halloween gifts for your kids.
kai08 看全部
2024-11-8 18:55:25
To set up GPIO in Ubuntu 20.04 LTS (4LTS), install necessary packages like `python3-rpi.gpio` for Python-based GPIO handling. directv satellite tv Then, configure pin modes and state using GPIO libraries. Run setup commands with root privileges to control pin functions effectively. This setup aids in hardware control and automation projects.       

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC