Asv.Hal 1.2.4 Help

Asv.Hal

Asv.Hal provides .NET hardware abstractions for components such as displays, keyboards, GPIO, LEDs, and switches.

Installation

Install the Asv.Hal NuGet package in a .NET 10 project:

dotnet add package Asv.Hal

Development packages are available on GitHub Packages.

Learn by example

Start with Getting started for a console menu that runs without hardware. Every C# example is either a complete program or a helper type with explicit parameters; helper types are meant to be called by your application.

Guide

Examples

Display output gallery

Captured output, screenshots, and a runnable sample project

Screens and rendering

Draw a frame, crop a region, implement a screen

Keyboard input

Emit and subscribe to device keys

Controls and events

Navigate pages, handle button events, marshal updates

Property pages

Read numeric values, select presets, edit enums

Remote and serial displays

Mirror console/Telnet output, send a device frame

GPIO and LEDs

Play an animation without hardware, open GPIO, configure RGB

Components

  • Screens: console, buffer, composite, data stream, and Telnet implementations.

  • Keyboards: console, composite, and data stream implementations.

  • Controls and routed events for display interaction.

  • GPIO providers and LED animations.

Development

See the development guide for build, test, and documentation publishing instructions, and the GitHub repository for source code and issues.

28 October 2026