Assign function to SES button

Discussion in 'DD-WRT Firmware' started by BrainSop, May 18, 2006.

  1. BrainSop

    BrainSop Network Guru Member

    Hi,
    I need know If it possible assign some function to SES button.

    I want assign on/off wireless funtion, I was read this it possible using wl command. but, how can assign it to SES button?

    sorry, but my english is not good.

    thanks in advance.
    Regards.
    BrainSop :thumbup:
     
  2. BrainSop

    BrainSop Network Guru Member

    is possible assign function to SES button?

    thanks in advance.
    Regards.
    BrainSop :thumbup:
     
  3. BrainSop

    BrainSop Network Guru Member

    Thank you very much...

    but this scripts are to change led states.

    I want run a script when SES button is pressed.
    I was read about gpio whit pin 4, but i can't make a script to use it.

    because the gpio pull 4 show in the screen the following:

    ------------
    gpio <poll | enable | disable> <pin>
    / # gpio poll 4
    01
    00
    01
    00
    01
    ...
    ------------

    01 when the button is not pressed
    00 when the button IS PRESSED

    somebody know how assign this to run script when button are pressed?

    sorry but my english isn't good.

    thanks in advance.
    BrainSop
     
  4. anectine17

    anectine17 Network Guru Member

    I agree. I'd like to see a script that simply turns the wireless off and on when pressed. If a change in LED color could accompany the on/off change, then that'd be a plus. Surely someone has or can figure this out!! Thanks!!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice