Overview

Pipeline

currentsensation is structured as five small modules:

The CLI lives in currentsensation.cli.

Off-Pi development

The package is designed to import on any Linux/macOS/Windows machine. RPi.GPIO and pygame are optional dependencies imported lazily; when they are unavailable, the MockBackend records pin transitions in memory so that scheduling logic can be unit-tested without hardware.

Use --mock-gpio on the CLI or pass force_mock=True to make_default_controller() to force the mock backend.