Man page - sense_play(1)
Packages contas this manual
apt-get install sense-emu-tools
Manual
| SENSE_PLAY(1) | sense-emu | SENSE_PLAY(1) |
NAME
sense_play - Sense HAT emulator playback
Replays readings recorded from a Raspberry Pi Sense HAT, via the Sense HAT emulation library.
SYNOPSIS
sense_play [-h] [--version] [-q] [-v] [-l FILE] [-P] input
DESCRIPTION
- -h, --help
- show this help message and exit
- --version
- show this program's version number and exit
- -q, --quiet
- produce less console output
- -v, --verbose
- produce more console output
- -l FILE, --log-file FILE
- log messages to the specified file
- -P, --pdb
- run under PDB (debug mode)
EXAMPLES
To play back an experiment recorded from the Sense HAT, simply execute sense_play with the filename you wish to play back:
$ sense_play experiment.hat
Playback will start immediately and continue in real-time (at the recording rate) until the file is exhausted. If you wish to start an emulated script at the same time as playback, you can use the shell's job control facilities:
$ sense_play experiment.hat & python experiment.py
If - is specified as the input file, sense_play will read its from stdin. This can be used to play back compressed recordings (see Examples under sense_rec) without using any disk space for decompression:
$ gunzip -c experiment.hat.gz | sense_play -
NOTE:
AUTHOR
Raspberry Pi Foundation
COPYRIGHT
2016-2024 Raspberry Pi Foundation
| March 26, 2024 | 1.2.2 |