SENSE_PLAY(1) | sense-emu | SENSE_PLAY(1) |
sense_play - Sense HAT emulator playback
Replays readings recorded from a Raspberry Pi Sense HAT, via the Sense HAT emulation library.
sense_play [-h] [--version] [-q] [-v] [-l FILE] [-P] input
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:
Raspberry Pi Foundation
2016-2021 Raspberry Pi Foundation
September 2, 2021 | 1.2 |