Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

sofiia-tesliuk/seven7segment_driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

seven7segment

Connection

Usage

Compiling

cd /path/to/driver
make

Instaling module

sudo insmod seven7segment.ko

Changing digit (from 0 to 9)

cd /sys/seven7segment/seven7segment
sudo chmod a+rw current_digit
sudo echo "1" > current_digit

Changing mode (active/sleeping)

sudo chmod a+rw mode
// Sleeping mode
sudo echo "s" > mode
// Active mode
sudo echo "a" > mode

Uninstalling module

sudo rmmod seven7segment

About

Raspberry PI driver for seven-segment display.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published