16 lines
136 B
C
16 lines
136 B
C
|
#pragma once
|
||
|
|
||
|
class Led
|
||
|
{
|
||
|
private:
|
||
|
unsigned int m_pin = 0;
|
||
|
|
||
|
public:
|
||
|
Led(unsigned int pin);
|
||
|
|
||
|
void on() const;
|
||
|
void off() const;
|
||
|
};
|
||
|
|
||
|
|