0

HD410 GPIO question...



Hi, I am using the HD410 to playback 1 of 5 MP3 files from pushbutton triggers. My pushbuttons have LED backlights in them which need to come on while the track is playing, and go off when finished. With only 8 GPIO, is it possible to change the state of a GPIO from input to output for a short while, then back to an input? This needs to happen for all 5 buttons. Thanks!

1 comment

  • 0
    Avatar
    RokuLyndon



    You could do this via script, but it might be easier to wire some of your leds to more than one gpio. For example, gpios 0 - 4 could be your inputs.

    Gpio 5 is led 1
    gpio 6 is led 2
    gpio 7 is led 3
    gpios 5 + 6 = led 4
    gpios 6+7 = led 5

    this would require a little wiring on your side.

    ALso, at hms electronics:
    http://www.hms-electronics.com/Roku/roku_410.htm
    They make a board that plugs into your gpio port and serial port, and gives you 8 inputs, and 8 outputs.

Please sign in to leave a comment.