Bjoern2
Posts: 8
Joined: Thu Nov 13, 2014 9:11 pm

This channel is already in use, continuing anyway.

Tue Nov 18, 2014 11:38 pm

I'm getting the warning "This channel is already in use, continuing anyway." when trying to control the GPIOs, e.g. using the blink python script, to turn an LED on/off. Googling around, the suggestion is that this might happen if a previous program didn't exit cleanly. However, I get the above even after boot.

I am presently accessing the Raspberry Pi via serial terminal. Could that be the problem? However, I did try it without the serial terminal (running the blink script after boot), and it didn't seem to work. I'm in Kigali (Rwanda) at the moment, and don't have a screen to try this without serial terminal.

Any thoughts?

DirkS
Posts: 10362
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: This channel is already in use, continuing anyway.

Wed Nov 19, 2014 12:00 am

Did you by any chance mix up the pin numbering?
It's easy to do this with GPIO numbers and physical pin numbers.

Can you post your code?

Gr.
Dirk.

Bjoern2
Posts: 8
Joined: Thu Nov 13, 2014 9:11 pm

Re: This channel is already in use, continuing anyway.

Wed Nov 19, 2014 4:46 am

Hi Dirk,

I used a "pi leaf", so used GPIO pins according to that.

Bjoern

User avatar
joan
Posts: 14935
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: This channel is already in use, continuing anyway.

Wed Nov 19, 2014 7:55 am

Bjoern2 wrote:Hi Dirk,

I used a "pi leaf", so used GPIO pins according to that.

Bjoern
What is a "pi leaf"? Can you point to some documentation?

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: This channel is already in use, continuing anyway.

Wed Nov 19, 2014 8:31 am

Bjoern2 wrote:Hi Dirk,

I used a "pi leaf", so used GPIO pins according to that.

Bjoern
Like this: http://www.raspberrypi.org/raspberry-leaf/ (for A/B)
Or like this: http://rasp.io/portsplus2/ (for A+/B+)

But how are you numbering the pins in your programs? Each pin has three or four names.
Image
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Interfacing (DSI, CSI, I2C, etc.)”