Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    External trigger problem

    General Discussion
    1
    1
    40
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • matej1006
      matej1006 last edited by

      Hello

      i would like to use external momentary switch to control my light in printer, i have connected this switch to GPIO1 and 5V
      and led to fan8 on duex.

      and at the same time i want also control same light with macro on DWI.

      is that possible.

      and this is what i have in config.g

      ; Controling LED COB lights
      M581 P1 S1 T2 C0 
      M950 P7 C"duex.fan8" Q0 
      M950 J1 C"duex.gp1"                                  	
      

      and trigger2.g

      M42 P7 S0
      M581 P1 S1 T3 C0 
      

      and trigger3.g

      M42 P7 S1
      M581 P1 S1 T2 C0 
      

      what i am doing wrong

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Unless otherwise noted, all forum content is licensed under CC-BY-SA