Download the PHP package tasoft/php-spi-extension without Composer
On this page you can find all versions of the php package tasoft/php-spi-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tasoft/php-spi-extension
More information about tasoft/php-spi-extension
Files in tasoft/php-spi-extension
Download tasoft/php-spi-extension
More information about tasoft/php-spi-extension
Files in tasoft/php-spi-extension
Vendor tasoft
Package php-spi-extension
Short Description A simple SPI extension for PHP to read from and write to the spi bus.
License MIT
Package php-spi-extension
Short Description A simple SPI extension for PHP to read from and write to the spi bus.
License MIT
Please rate this library. Is it a good library?
Informations about the package php-spi-extension
php spi extension
I've created this extension to get access to the spi bus on my raspberry pi.
Installation
This compiles the source on your machine.
Next find the php.ini file
Will list scanned ini files.
Add the following line to that php.ini file:
Usage
The extension adds the following functions to the global scope:
-
This opens the device bus.
-
Reads data from the spi bus.
-
Writes data to the spi bus
-
Reads and writes data to and from the spi bus in duplex mode
-
Closes the bus.
-
Reads the mode
-
Reads the maximum speed
-
Reads bits per word
-
Reads the delay
Example
All versions of php-spi-extension with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
The package tasoft/php-spi-extension contains the following files
Loading the files please wait ....