mirror of
https://github.com/adrigongv23/G26---Telemetry-Software.git
synced 2026-08-25 11:33:17 +02:00
Todo subido
This commit is contained in:
parent
f0db3a8aeb
commit
27026caf57
87 changed files with 83292 additions and 17 deletions
68
Pantalla/include/ajustes.hpp
Normal file
68
Pantalla/include/ajustes.hpp
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
#ifndef AJUSTES_HPP
|
||||
#define AJUSTES_HPP
|
||||
|
||||
#include "../include/guardado.hpp"
|
||||
|
||||
void set_data(data *datos);
|
||||
|
||||
int get_rpm();
|
||||
int get_desplazamiento();
|
||||
bool get_modo_oscuro();
|
||||
|
||||
int get_pantalla();
|
||||
int get_rpm_display();
|
||||
int get_diff_rpm();
|
||||
int get_recepcion_datos();
|
||||
|
||||
float get_vbatt_too_high();
|
||||
float get_vbatt_high();
|
||||
float get_vbatt_low();
|
||||
|
||||
int get_water_hot();
|
||||
int get_water_mild();
|
||||
int get_water_cold();
|
||||
|
||||
int get_oil_hot();
|
||||
int get_oil_mild();
|
||||
int get_oil_cold();
|
||||
|
||||
float get_oil_pressure_too_high();
|
||||
float get_oil_pressure_high();
|
||||
float get_oil_pressure_low();
|
||||
|
||||
float get_fuel_pressure_too_high();
|
||||
float get_fuel_pressure_high();
|
||||
float get_fuel_pressure_low();
|
||||
|
||||
void save();
|
||||
void load();
|
||||
|
||||
void update(
|
||||
int rpm_max,
|
||||
int desplazamiento,
|
||||
bool modo_oscuro,
|
||||
int pantalla,
|
||||
int rpm_display,
|
||||
int diff_rpm,
|
||||
int recepcion_datos,
|
||||
float vbatt_too_high,
|
||||
float vbatt_high,
|
||||
float vbatt_low,
|
||||
int water_hot,
|
||||
int water_mild,
|
||||
int water_cold,
|
||||
int oil_hot,
|
||||
int oil_mild,
|
||||
int oil_cold,
|
||||
float oil_pressure_too_high,
|
||||
float oil_pressure_high,
|
||||
float oil_pressure_low,
|
||||
float fuel_pressure_too_high,
|
||||
float fuel_pressure_high,
|
||||
float fuel_pressure_low
|
||||
);
|
||||
|
||||
int modify_value(int value, int modifier);
|
||||
float modify_value(float value, float modifier);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue