Skip to main content
Tweeted twitter.com/StackRaspi/status/892390910339801090
Minor edits, added code formatting
Source Link
user1133275
  • 2.2k
  • 15
  • 32

I was trying to run a motor using the Pi. It was working fine before when I was executing using a Python script.

However, laterLater I had installed WiringPi and tried to execute the GPIO using shell script and it had worked once.

After that nothing was working, neither the python scripts nor the shell scripts.

In the Python scripts I had added GPIO.cleanup() but still no use. But when I am executing the python script, I am getting the following warning message:

RuntimeWarning: This channel already in use, continuing anyway

Is there any way to reset the GPIO to its normal state again?

Also I had tried adding try and final statements in my Python script but still no use.

I was trying to run a motor using the Pi. It was working fine before when I was executing using a Python script.

However, later I had installed WiringPi and tried to execute the GPIO using shell script and it had worked once.

After that nothing was working, neither the python scripts nor the shell scripts.

In the Python scripts I had added GPIO.cleanup() but still no use. But when I am executing the python script, I am getting the following warning message:

RuntimeWarning: This channel already in use, continuing anyway

Is there any way to reset the GPIO to its normal state again?

Also I had tried adding try and final statements in my Python script but still no use.

I was trying to run a motor using the Pi. It was working fine before when I was executing using a Python script.

Later I installed WiringPi and tried to execute the GPIO using shell script and it worked once.

After that nothing was working, neither the python scripts nor the shell scripts.

In the Python scripts I had added GPIO.cleanup() but still no use. But when I am executing the python script, I am getting the following warning message:

RuntimeWarning: This channel already in use, continuing anyway

Is there any way to reset the GPIO to its normal state again?

Also I had tried adding try and final statements in my Python script but still no use.

GPIO - RuntimeWarning: This channel already in use, continuing anyway

hi I am new to raspberry pi and python.

I was trying to run a motor using the piPi. It was working fine before when I was executing using pythona Python script.

ButHowever, later I had installed WiringPi and tried to execute the GPIO using shell script and it had worked once.

After that nothing was working, neither the python scripts nor the shell scripts.

inIn the pythonPython scripts I had added GPIO.cleanup()GPIO.cleanup() but still no use. But when I am executing the python script, I am getting athe following warning message that Channel is already in use.:

RuntimeWarning: This channel already in use, continuing anyway

Is there any way to reset the GPIO to its normal state again.?

Also I had tried adding try and final statements in my pythonPython script but still no use.

Can anyone please help me... I am just stuck over here. Thanks.

RuntimeWarning: This channel already in use, continuing anyway

hi I am new to raspberry pi and python.

I was trying to run a motor using the pi. It was working fine before when I was executing using python script.

But later I had installed WiringPi and tried to execute the GPIO using shell script and it had worked once.

After that nothing was working, neither the python scripts nor the shell scripts.

in the python scripts I had added GPIO.cleanup() but still no use. But when I am executing the python script, I am getting a warning message that Channel is already in use.

Is there any way to reset the GPIO to its normal state again.

Also I had tried adding try and final statements in my python script but still no use.

Can anyone please help me... I am just stuck over here. Thanks.

GPIO - RuntimeWarning: This channel already in use, continuing anyway

I was trying to run a motor using the Pi. It was working fine before when I was executing using a Python script.

However, later I had installed WiringPi and tried to execute the GPIO using shell script and it had worked once.

After that nothing was working, neither the python scripts nor the shell scripts.

In the Python scripts I had added GPIO.cleanup() but still no use. But when I am executing the python script, I am getting the following warning message:

RuntimeWarning: This channel already in use, continuing anyway

Is there any way to reset the GPIO to its normal state again?

Also I had tried adding try and final statements in my Python script but still no use.

Source Link
Rocky
  • 61
  • 1
  • 1
  • 2

RuntimeWarning: This channel already in use, continuing anyway

hi I am new to raspberry pi and python.

I was trying to run a motor using the pi. It was working fine before when I was executing using python script.

But later I had installed WiringPi and tried to execute the GPIO using shell script and it had worked once.

After that nothing was working, neither the python scripts nor the shell scripts.

in the python scripts I had added GPIO.cleanup() but still no use. But when I am executing the python script, I am getting a warning message that Channel is already in use.

Is there any way to reset the GPIO to its normal state again.

Also I had tried adding try and final statements in my python script but still no use.

Can anyone please help me... I am just stuck over here. Thanks.