![]() |
Speeduino
|
Go to the source code of this file.
Functions | |
| void | initialiseTachoControl (uint8_t tachoPin, const config2 &page2, const config6 &page6, const statuses ¤t) |
| Initialises the tacho control module. | |
| void | tachoControl (const statuses ¤t) |
| The tacho control function. | |
| void | tachoOutputOn (void) |
| Turns the tacho output on. | |
| void | tachoOutputOff (void) |
| Turns the tacho output off. | |
| void initialiseTachoControl | ( | uint8_t | tachoPin, |
| const config2 & | page2, | ||
| const config6 & | page6, | ||
| const statuses & | current | ||
| ) |
Initialises the tacho control module.
| void tachoControl | ( | const statuses & | current | ) |
The tacho control function.
Should be called regularly to update the tacho output status.
This function will check the current engine status and decide whether to turn the tacho output on or off based on the configured settings and timing.
| void tachoOutputOff | ( | void | ) |
Turns the tacho output off.
| void tachoOutputOn | ( | void | ) |
Turns the tacho output on.