In.hpp

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