10 lines
131 B
C++
10 lines
131 B
C++
#include <Arduino.h>
|
|
#include "PinTypeIn.h"
|
|
|
|
|
|
|
|
bool PinTypeIn::IsPinHigh()
|
|
{
|
|
return digitalRead(_pin) == HIGH ? true : false;
|
|
}
|