これはGPIOチャネルの関数を表示する。 例:
import RPi.GPIO as GPIO GPIO.setmode(GPIO.BOARD) func = GPIO.gpio_function(pin)
これは次のいずれかの値を返す: GPIO.IN, GPIO.OUT, GPIO.SPI, GPIO.I2C, GPIO.HARD_PWM, GPIO.SERIAL, GPIO.UNKNOWN
Wiki: Examples
Sign up for the SourceForge newsletter:
I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details
You seem to have CSS turned off. Please don't fill out this field.