discoLight
Loading...
Searching...
No Matches
LightController.h File Reference
#include <stdint.h>
#include <pthread.h>
#include "GPIO.h"
#include "CommandQueue.h"
#include "PeriodicTask.h"
Include dependency graph for LightController.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LightController
 

Detailed Description

Author
Walter Schilling (schil.nosp@m.ling.nosp@m.@msoe.nosp@m..edu)
Version
1.0

LICENSE

This code is developed as part of the MSOE SWE4211 Real Time Systems course, but can be freely used by others.

SWE4211 Real Time Systems is a required course for students studying the discipline of software engineering.

This Software is provided under the License on an "AS IS" basis and without warranties of any kind concerning the Software, including without limitation merchantability, fitness for a particular purpose, absence of defects or errors, accuracy, and non-infringement of intellectual property rights other than copyright. This disclaimer of warranty is an essential part of the License and a condition for the grant of any rights to this Software.

DESCRIPTION

This class is a controller for a light. It is responsible for turning the light on or off and setting its brightness based on commands received through a command queue, and for lighting it while a pushbutton is pressed.