Files
MX5-Arduino/tach.ino
T
2018-08-28 11:34:23 +01:00

14 lines
202 B
Arduino

void task_tach_low_run()
{
digitalWrite(pin_tach, LOW);
}
void task_tach_high_run()
{
digitalWrite(pin_tach, HIGH);
// Auto-schedule the end
task_tach_low = micros() + tach_pulse_length;
}