Skip to content

Readme issue #4

@djsharman

Description

@djsharman

Php test file needs to be enclosed with

Also upon running

php -f test_piface.php

if you get as error like "Dynamically loaded extensions aren't enabled" you must

sudo vim /etc/php5/cli/php.ini

then change

enable_dl = Off

to

enable_dl = On


I am currently stuck with an error:

PHP Fatal error: The device /dev/spidev0.0 does not exist in /home/pi/myphpiface/vendor/pkj/raspberry-piface-api/src/Pkj/Raspberry/PiFace/SpiManager/SpiExtension.php on line 16

Should I load a kernel driver first?

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