View Single Post
Old 02-19-2009, 10:46 AM   #843 (permalink)
Nevyn
Master EcoModder
 
Join Date: Nov 2008
Location: 18603, USA
Posts: 759

The Crimson Crawler - '04 Hyundai Elantra GLS
90 day: 36.71 mpg (US)
Thanks: 221
Thanked 60 Times in 45 Posts
I think you have a typo.
Code:
 }else{
    x -= s;     //otherwise subtract settling time from the pulse width
  }
Should be
Code:
 }else{
    x - s;     //otherwise subtract settling time from the pulse width
  }
  Reply With Quote