GPIO usage on raspberry pi

Hello,

I use repetier server pro 0.90.1 on a raspberry pi.
I want to send gcode to a printer when a button is pushed.
The buttons are wired to GPIO22-27-17 of the rpi.
I use a python script to do triggers on GPIO (using Rpi.GPIO lib) and send gcode to repetier server via http (socket).

The communication with repetier server is fine.

But I have a strange problem :
  •  when the printer is not plug to the rpi (usb), my script work fine
  • but when the printer is plugged, pushing buttons of GPIO27 or GPIO17 invoke actions of GPIO22 too!

Do repetier-server make any action with this GPIO?

my code : https://github.com/fthome/repetier_ui

Frédéric

Comments

  • No, server is written to run everywhere and does not use board specific function on it's own. So as long as you do not use @execute commands that set pins, server will not do it.
  • Repetier said:
    No, server is written to run everywhere and does not use board specific function on it's own. So as long as you do not use @execute commands that set pins, server will not do it.
    Thanks a lot!
Sign In or Register to comment.