Set output to high for 10ms before pulling it down. (my Sensors need this)
read pin number from command line for more flexibility
Merge pull request #3 from klausstocker/master

read pin number from command line and fix for my series of sensors