PaulStoffregen / CapacitiveSensor

Detect touch or proximity by capacitve sensing
http://www.pjrc.com/teensy/td_libs_CapacitiveSensor.html
392 stars 147 forks source link

Input pullup was on for half cycle!? #36

Open tekybrit opened 4 years ago

tekybrit commented 4 years ago

Removed WRITE_HIGH while in input mode, so pullup is not now turned on. For me, using an Arduino 8Mhz pro-mini, this change improved speed & sensitivity. Also removed redundant WRITE_LOW of sendPin & Improved comments.