time I could not find code that I liked for timing how long we hold a button attached to a pi. I rolled my own. Probably not the fastest, or most elegant, but hopefully simple and useful. more ...