Skip to content

Unable to open SPI device: No such file or directory #5

Description

@BirdingPix

I finally am asking for a bit of help since I cannot solve this myself.

I get this error when running example.py (or benchmark.py):
Unable to open SPI device: No such file or directory

The error occurs when executing this line in pipyadc:
fd = wp.wiringPiSPISetupMode(
conf.SPI_CHANNEL, conf.SPI_FREQUENCY, conf.SPI_MODE)

screen shot 2017-12-22 at 2 38 48 pm

The values are correct but unable to get past this error.
Pls offer some guidance... THANK YOU!

I know the Waveshare High-Precision AD/DA hardware is running ok as their little demo program works (sudo ./ads1256_test). but I need to run this within PYTHON environment.

thanks again for any help!
Dave
Houston, TX

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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