2 Replies Latest reply on Sep 5, 2016 3:14 PM by Intel Corporation

    Wiringx86 - /sys/class/gpio/gpio248/value: No such file or directory

    Arnert

      Hi,

       

      I try to understand the Edison Brackout Borad.

      I am a beginner und go step by step with the book "Getting started with the Intel Eddison an the ...".

      And I think I done the follwoing steps succesfully

      - update yocto with "iot-devkit-prof-dev-image-edison-20160315"

      - initilising python moduls: "wiring-x86" und "pyserial"

       

      But when I start the "Blink Example"

      import time
      from wiringx86 import GPIOEdison as GPIO

      gpio = GPIO(debug=False)
      pin = 13
      state = gpio.HIGH

      print 'Setting up pin %d' % pin
      gpio.pinMode(pin, gpio.OUTPUT)

      print 'Blinking pin %d now...' % pin
      try:
        while(True):
          gpio.digitalWrite(pin, state)
          state = gpio.LOW if state == gpio.HIGH else gpio.HIGH
          time.sleep(0.25)
      except KeyboardInterrupt:
        print '\nCleaning up ...'
        gpio.digitalWrite(pin, gpio.LOW)
        gpio.cleanup()

       

      Python answers me

      sh: /sys/class/gpio/gpio248/value: No such file or directory

      sh: /sys/class/gpio/gpio249/value: No such file or directory

      sh: /sys/class/gpio/gpio250/value: No such file or directory

      sh: /sys/class/gpio/gpio251/value: No such file or directory

      sh: /sys/class/gpio/gpio252/value: No such file or directory

      sh: /sys/class/gpio/gpio253/value: No such file or directory

      sh: /sys/class/gpio/gpio254/value: No such file or directory

      sh: /sys/class/gpio/gpio255/value: No such file or directory

      sh: /sys/class/gpio/gpio256/value: No such file or directory

      sh: /sys/class/gpio/gpio257/value: No such file or directory

      sh: /sys/class/gpio/gpio258/value: No such file or directory

      sh: /sys/class/gpio/gpio240/value: No such file or directory

      sh: /sys/class/gpio/gpio263/value: No such file or directory

      sh: /sys/class/gpio/gpio259/value: No such file or directory

      sh: /sys/class/gpio/gpio241/value: No such file or directory

      sh: /sys/class/gpio/gpio262/value: No such file or directory

      sh: /sys/class/gpio/gpio260/value: No such file or directory

      sh: /sys/class/gpio/gpio242/value: No such file or directory

      sh: /sys/class/gpio/gpio261/value: No such file or directory

      sh: /sys/class/gpio/gpio243/value: No such file or directory

      sh: /sys/class/gpio/gpio232/value: No such file or directory

      sh: /sys/class/gpio/gpio200/value: No such file or directory

      sh: /sys/class/gpio/gpio233/value: No such file or directory

      sh: /sys/class/gpio/gpio201/value: No such file or directory

      sh: /sys/class/gpio/gpio234/value: No such file or directory

      sh: /sys/class/gpio/gpio202/value: No such file or directory

      sh: /sys/class/gpio/gpio235/value: No such file or directory

      sh: /sys/class/gpio/gpio203/value: No such file or directory

      sh: /sys/class/gpio/gpio236/value: No such file or directory

      sh: /sys/class/gpio/gpio204/value: No such file or directory

      sh: /sys/class/gpio/gpio237/value: No such file or directory

      sh: /sys/class/gpio/gpio205/value: No such file or directory

      Setting up pin 13

      sh: /sys/class/gpio/gpio261/value: No such file or directory

      sh: /sys/class/gpio/gpio229/value: No such file or directory

      sh: /sys/class/gpio/gpio243/value: No such file or directory

      Blinking pin 13 now...

       

      Can anyone tell me my mistake?

       

      Thanks

      Jens