You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011121314151617181920212223 |
- #pragma once
-
-
- #include <stdint.h>
- #include "ILifeCycle.h"
-
- class DigitalOutput
- : public ILifeCycle
- {
- public:
- explicit DigitalOutput(uint8_t mPin);
-
- void begin() override;
-
- void setEnabled(bool enabled);
-
- bool isEnabled() const;
-
- protected:
- const uint8_t m_pin;
- };
-
|