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.
22 lines
317 B
22 lines
317 B
#ifndef __STEAM_H_
|
|
#define __STEAM_H_
|
|
|
|
class Steam {
|
|
private:
|
|
int outputV5;
|
|
|
|
|
|
|
|
public:
|
|
Steam(int outputPin) : outputV5(outputPin){
|
|
pinMode(outputPin, OUTPUT);
|
|
}
|
|
void On() {
|
|
digitalWrite(outputV5,HIGH);
|
|
}
|
|
void Off() {
|
|
digitalWrite(outputV5,LOW);
|
|
}
|
|
};
|
|
|
|
#endif
|