I get the following message:
Warning (from warnings module):
File "/home/pi/Documents/RPi_GPIO.py", line 20
GPIO.setup( TDCresetPin, GPIO.OUT)
RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
The python code look likes:
import RPi.GPIO
resetPin = 4
GPIO.setmode(GPIO.BCM) #line 20
GPIO.setup( resetPin, GPIO.OUT)
GPIO.output( resetPin, GPIO.LOW)
The interface that are enabled are:
- SSH
VNC
SPI
Serial Port
Serial Console
Version:April 2019
Release date:2019-04-08
Kernel version:4.14
Additional Info:
I get the same error for GPIO22 (BCM 22) (header pin 15)
I can configure GPIO23 & GPIO24 (header pin 16, 18)
section of the 'config.txt'
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on