rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
buttonshift.h
Go to the documentation of this file.
1/**
2 * @file buttonshift.cpp
3 * @brief Polls pins for gear changes
4 *
5 * @date Aug 31, 2020
6 * @author David Holdeman, (c) 2020
7 */
8#pragma once
9
10#include "gear_controller.h"
11#include "debounce.h"
12
13#if EFI_TCU
27
29#endif // EFI_TCU
ButtonShiftController * getButtonShiftController()
GearControllerMode getMode() const
Definition buttonshift.h:20
ButtonDebounce debounceDown
Definition buttonshift.h:25
ButtonDebounce debounceUp
Definition buttonshift.h:24
Generic button debounce class https://en.wikipedia.org/wiki/Switch#Contact_bounce If we don't 'deboun...
GearControllerMode