Tagged articles
6 articles
Page 1 of 1
php Courses
php Courses
Nov 19, 2025 · Backend Development

How to Send MIDI Messages from PHP: A Step‑by‑Step Guide

This tutorial explains the basics of the MIDI protocol and shows how to use PHP's serial communication extension to open a serial port, construct MIDI Note‑On messages, send them to a music device, and properly close the connection, with suggestions for extending the code.

MIDIMusic TechnologyPHP
0 likes · 4 min read
How to Send MIDI Messages from PHP: A Step‑by‑Step Guide
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 24, 2021 · Fundamentals

Understanding SPI Protocol, Hardware Interface Design, Timing Diagram, and Linux Kernel Driver Framework

SPI is a high‑speed, full‑duplex serial bus using four pins (CS, SCK, MOSI, MISO) with configurable clock polarity and phase, whose timing diagram shows data transfer on clock edges, and Linux provides a driver framework built around spi_driver, spi_transfer, and spi_message structures for reliable sensor communication.

SPISerial Peripheral Interfacedevice driver
0 likes · 8 min read
Understanding SPI Protocol, Hardware Interface Design, Timing Diagram, and Linux Kernel Driver Framework