added in credits
added calibration variable
reversed pin 2 LOW/HIGH states, seems more stable