Skip to content

Segmentation fault  #83

@dpengftw

Description

@dpengftw

I'm running fairly simple code and I am getting seg. fault with sending values out.

GPIO.setup("XIO-P1", GPIO.OUT) ** gpio_set_direction: out ** ** open_value_file ** ** gpio_allowed: found match ** is_this_chippro: total system ram: 491.0 mb ** is_this_chippro: we are a chip ** gpio_allowed: pin allowed for chip or both and we're a chip ** gpio_allowed: found match ** is_this_chippro: total system ram: 491.0 mb ** is_this_chippro: we are a chip ** gpio_allowed: pin allowed for chip or both and we're a chip Segmentation fault

GPIO.setup("XIO-P1", GPIO.OUT) time.sleep(1) GPIO.output("XIO-P1", GPIO.LOW) GPIO.cleanup()

Here is my CHIP kernel version:
chip@chip:~/chipflaskgarage-master$ uname -a
Linux chip 4.4.13-ntc-mlc #1 SMP Tue Dec 6 21:38:00 UTC 2016 armv7l GNU/Linux

ii python-chip-io 0.7.1-1 armhf A module to control CHIP IO channels

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions