diff options
author | Nao Pross <naopross@thearcway.org> | 2018-05-04 00:16:36 +0200 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-05-04 00:16:36 +0200 |
commit | c3767ac0c6bcb9a1aed1e7b666061f829a371e1f (patch) | |
tree | 36d1339fb999c066f424b8f03707e9a996aff02a /Led.hpp | |
parent | Defined Heap size (diff) | |
download | SAMLiquidSmoke-c3767ac0c6bcb9a1aed1e7b666061f829a371e1f.tar.gz SAMLiquidSmoke-c3767ac0c6bcb9a1aed1e7b666061f829a371e1f.zip |
Start own HAL implementation based on MCC's generated files
Other changes:
- Undo conversion of MCC files to C++
- Delete old Led implementation
Diffstat (limited to 'Led.hpp')
-rw-r--r-- | Led.hpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Led.hpp b/Led.hpp deleted file mode 100644 index b082d7d..0000000 --- a/Led.hpp +++ /dev/null @@ -1,34 +0,0 @@ -/* - * File: Led.hpp - * Author: _prossn - * - * Created on 10. aprile 2018, 16:07 - */ - -#ifndef LED_HPP -#define LED_HPP - -#include <string> - -class Led { -public: - enum class Color { - RED, GREEN, BLUE - }; - - Led(Color color); - Led() = delete; - virtual ~Led(); - - Color color() const; - - void set(bool status); - bool state() const; - -private: - bool _state; - Color _color; -}; - -#endif /* LED_HPP */ - |