Menu

Question about LED's and GPIO

2009-05-06
2013-05-29
  • Alexey Niko

    Alexey Niko - 2009-05-06

    Please help me with my robotic's project, I'm trying to make robot using GPIO pins on W500V, but I have few problems.
    I need to use GPIO as input and it will be very good to activate all 20+ GPIO lines not only reset button + 7 LEDS.

    I already did this before on different platform (ADM5120) and OpenWrt / DD-Wrt.
    So just show me the way to move.

    Thank you.

     
    • ProtoColD

      ProtoColD - 2009-06-17

      Hi there,

      Did you ever figure out how to do the GPIO and LED?

      Actually I want to know more regarding the LED control, can you shred some light on this??

      Many thanks!

       
    • Alexey Niko

      Alexey Niko - 2009-06-23

      usage   (Led State); example:  ledtool 1 4

      LED:
              "     0 Power green
              "     1 Power red
              "     2 ADSL
              "     3 Online
              "     4 PSTN
              "     5 Internet
             
      State:
              "       0 Off
              "       1 On
          "       2 Fail (red)
          "       3 BlinkOnce
          "       4 SlowBlinkContinues
          "       5 FastBlinkContinues
          "       State 2 to 5 is only available for LED 1, 2 and 3.

       
    • ProtoColD

      ProtoColD - 2009-06-25

      Thank you very much.

      But I am actually trying to use bitswitcher on another box(non w500v), it currently boots fine but the LED is not mapped correctly.

      Do you know where I can find the definition of the LED and GPIO pin so that I can change around to test it? Thank you so much in advance. 

       
    • Alexey Niko

      Alexey Niko - 2009-07-05

      GPIO and LED map stored in file: \dev_tree\bs_extra\ledtool\src\board_api.h

      I can set any of GPIO state , but I have prob when i try to get state from GPIO.
      I'm trying to init GPIO's like reset button in Bitswitcher but with no success.

       
    • Alexey Niko

      Alexey Niko - 2009-07-05

      GPIO and LED map stored in file: \dev_tree\bs_extra\ledtool\src\board_api.h

      I can set any of GPIO state , but I have prob when i try to get state from GPIO.
      I'm trying to init GPIO's like reset button in Bitswitcher but with no success.

       
    • Alexey Niko

      Alexey Niko - 2009-07-05

      GPIO and LED map stored in file: \dev_tree\bs_extra\ledtool\src\board_api.h

      I can set any of GPIO state , but I have prob when i try to get state from GPIO.
      I'm trying to init GPIO's like reset button in Bitswitcher but with no success.

       

Log in to post a comment.

MongoDB Logo MongoDB