MCPcopy Create free account
hub / github.com/PaulStoffregen/CapacitiveSensor / set_CS_Timeout_Millis

Method set_CS_Timeout_Millis

CapacitiveSensor.cpp:130–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void CapacitiveSensor::set_CS_Timeout_Millis(unsigned long timeout_millis){
131 CS_Timeout_Millis = (timeout_millis * (float)loopTimingFactor * (float)F_CPU) / 16000000; // floats to deal with large numbers
132}
133
134// Private Methods /////////////////////////////////////////////////////////////
135// Functions only available to other functions in this library

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected