Download the PHP package dept-of-scrapyard-robotics/st77xx without Composer

On this page you can find all versions of the php package dept-of-scrapyard-robotics/st77xx. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package st77xx

Introduction

PHP Package for the ST77xx family of full-color TFT displays. Three controllers are supported, each with its own driver class:

All three drive 16-bit (RGB565) color by default and share an identical connection and usage surface; only the class name and default resolution differ.

Compatible SPI Interfaces

The ST77xx displays communicate with your device over SPI, the Serial Peripheral Interface.

You can interface with displays such as the ST77xx with this package the following ways:

Dependencies

This package makes use of modules within:

This package also requires one of the following extensions in order to interface with SPI

In addition, an extension wrapper package is needed

For ext-posi

For ext-ftdi

Installing from Composer

Inside the root of your PHP Project, simply require the ST77xx package from composer

Framework Configuration

If you would like to use the ScrapyardIO Framework to bootstrap your display without wasting lines configuring your display right in the script you can add your desired configuration to scrapyard-io.php, such as in this example:

SPI

Basic Usage

The examples below use the ST7789. Swap the class for ST7735 or ST7796 (under the same DeptOfScrapyardRobotics\Displays\ST77xx\... namespace) to drive those controllers — the builder chain is identical.

Native (POSIX) SPI driver. (Single Board Computers)

USB (MPSSE) driver using SPI. (Linux and MacOS)

Other controllers

Alternative Usage

Using Through the Display Library (as a ColorTFTDisplay)

Using Through the Display Framework (with an autoloaded config) (as a ColorTFTDisplay)

Display API

The setters in this API interface with the device directly (register writes), so you can use property access while still working against the panel itself. The three controllers share most properties but each exposes its own register set.

ST7735

Readable Properties (Getters)

Writable Properties (Setters)

ST7789

Readable Properties (Getters)

There are no readable magic properties exposed for the ST7789 in this package.

Writable Properties (Setters)

ST7796

Readable Properties (Getters)

There are no readable magic properties exposed for the ST7796 in this package.

Writable Properties (Setters)

Drawing on the Display

Draw with a Screen, which wraps a GFXRenderer over a frame buffer matched to the panel's FormatSpec, then ships the bytes on render(). A colour TFT uses a DirtyRegionsBuffer (coalesces changed rectangles, one update per region). Colors are 16-bit RGB565 integers (e.g. 0xF800 red, 0x07E0 green, 0x001F blue).


All versions of st77xx with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
scrapyard-io/waveforms Version ^0.4.0
scrapyard-io/reality-interface Version ^0.4.0
scrapyard-io/bare-metal Version ^0.4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dept-of-scrapyard-robotics/st77xx contains the following files

Loading the files please wait ...