Arduino Pin Library  v4.2.0
An easy to use Arduino library for fast and simultaneous operations on Arduino I/O pins.
Pin-Timer.ino
#include <Pin.h> // Include Pin Library
Pin myPin = Pin(13); // Create Pin object for digital pin labelled 13 on any of the supported boards
void setup() {
Serial.begin(9600); // Start serial communication at 9600 baud
myPin.setLow(); // Set Pin state to LOW to disable the pullup resistor and make sure the pin is driven to low at the end of the the rcTimer function, THIS IS VERY IMPORTANT
}
void loop() {
delay(500); // Wait 500 milliseconds
// If a force sensitve resistor is used with a capacitor, the more force applied to the fsr (lower resistance), the faster the capactor will charge resulting in a number closer to the inital value
Serial.println(String(myPin.rcTimer(255))); // Print the value remaining on the timer when the pin went HIGH
}