GPIO hello world LED not working [SOLVED]

Discussion in 'UDOO NEO' started by redblade, Nov 28, 2015.

  1. redblade

    redblade New Member

    Joined:
    Nov 28, 2015
    Messages:
    5
    Likes Received:
    1
    Hi,
    I have tried the example, checked the one here , but still I cannot have gpio working on my udoo neo full with udoobuntu2 beta 5.
    Tried the led example http://www.udoo.org/tutorial/getting-started-with-arduino-ide-on-udoo/ with a working led, but it does not switch on.
    Just for clarification, according to this, gpio142 is the pin #36
    logged as root
    echo 142 > /sys/class/gpio/export
    echo out /sys/class/gpio/gpio142/direction
    echo 1 > /sys/class/gpio/gpio142/value

    with a little breadboard with a led connected to udoo GND and pin36 (J5), nothing happens.
    Am I forgetting something?
     
  2. necromancer

    necromancer New Member

    Joined:
    Nov 10, 2015
    Messages:
    26
    Likes Received:
    8
  3. redblade

    redblade New Member

    Joined:
    Nov 28, 2015
    Messages:
    5
    Likes Received:
    1
    I was definitely missing something :)
    Thanks, it is working perfectly!
     
    Andrea Rovai likes this.

Share This Page