Skip to content

RaspberryPi class used to manage hardware changing state of (LED and switches) on a thread.

Notifications You must be signed in to change notification settings

advra/LedSwitchManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Led Switch Manager

The motivation for this was to provide example of a simple expandable hardware manager for interrupts. It follows a singleton pattern and manages the hardware on a seperate thread. This project manages the blink rates of an LED and Switch to power off the device.

Requirements:

The target device is a Raspberry Pi but can be modified for other devices. If using with WiringPi see here for install instructions.

Build:

cd build && cd build
cmake .. && make

Run

./example.a

About

RaspberryPi class used to manage hardware changing state of (LED and switches) on a thread.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published