Speeduino
Loading...
Searching...
No Matches
Functions
tachoController.h File Reference
#include <stdint.h>
#include "../../../statuses.h"
#include "../../../config_pages.h"

Go to the source code of this file.

Functions

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.
 
void tachoOutputOn (void)
 Turns the tacho output on.
 
void tachoOutputOff (void)
 Turns the tacho output off.
 

Function Documentation

◆ initialiseTachoControl()

void initialiseTachoControl ( uint8_t  tachoPin,
const config2 page2,
const config6 page6,
const statuses current 
)

Initialises the tacho control module.

◆ tachoControl()

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.

◆ tachoOutputOff()

void tachoOutputOff ( void  )

Turns the tacho output off.

◆ tachoOutputOn()

void tachoOutputOn ( void  )

Turns the tacho output on.