In.hpp
Submitted by Webbot on January 1, 2009 - 10:43pm.
Defines a pin that is normally a digital input pin.
You can create a new one at the start of your code by:
IN myPin('B',4,false); // creates an input on B4 with no pullup resistor
Methods you can call:-
bool IsLow(); // is the pin 0v
bool IsHigh(); // Is the pin 5v
|