Proportion variable and delayMicroseconds

Changed the proportion constant to a variable and changed delay to
delayMicroseconds