Popularity
0.4
Stable
Activity
0.0
Stable
0
1
0

Description

The project has a Python 3 program that reads data from a Linux FIFO file and prints them to Sense HAT’s LED display. Reading from normal file or other device file is also supported.

The project is made just for fun and is shouldn't have any useful value. If you find it, please let me know.

Programming language: Python
License: GNU General Public License v3.0 only
Tags: Hardware     Raspberry Pi     Sense HAT     Linux    

SenseOUT alternatives and similar packages

Based on the "Hardware" category.
Alternatively, view SenseOUT alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of SenseOUT or a related project?

Add another 'Hardware' Package

README

Sense HAT

SenseOUT

Sense HAT’s LED display as Linux FIFO file.

Description

The project has a Python 3 program that reads data from a Linux FIFO file and prints them to Sense HAT’s LED display. Reading from normal file or other device file is also supported.

The project is made just for fun and is shouldn't have any useful value. If you find it, please let me know.

Usage

The project works only on Raspberry Pi with attached Sense HAT and installed Python. It was tested on Raspberry Pi 3, but it should also works on other versions of Raspberry Pi.

First, you should clone the project:

git clone  https://github.com/filips123/SenseOUT.git # Clone the project
cd SenseOUT # Go to project directory

Then you should create a new Linux FIFO file:

mkfifo sensehat # Create a new FIFO file

The default input file is sensehat. To change it, pass file name as first program argument:

python3 handler.py /path/to/file # Use custom file

You could run the program in the background:

python3 handler.py & # Run the program in the background

Then you could write data to the file and they will be displayed on Sense HAT’s LED display:

echo "ABC" > sensehat # Display output only on Sense HAT’s LED display
# OR #
echo "ABC" | tee sensehat # Display output on Sense HAT’s LED and in terminal

You could also display commands outputs, but you shouldn't use the commands with a lot of output:

ls | tee sensehat # Display content of directory on Sense HAT’s LED and in terminal

License

This project is licensed under the GNU General Public License v3. See the LICENSE file for details.


*Note that all licence references and agreements mentioned in the SenseOUT README section above are relevant to that project's source code only.