mirror of
https://gitlab.com/Luci_/arduino-photometrics.git
synced 2026-04-03 11:35:37 +02:00
19 lines
429 B
C++
19 lines
429 B
C++
#ifndef TRAITEMENT_H
|
|
#define TRAITEMENT_H
|
|
|
|
#include <Arduino.h>
|
|
|
|
class Traitement
|
|
{
|
|
private:
|
|
const uint8_t min_out_norm = 0, max_out_norm = 255;
|
|
|
|
public:
|
|
Traitement();
|
|
~Traitement();
|
|
|
|
void map_r(int32_t* min_res_tab, int32_t* max_res_tab, int32_t* res_values, int16_t* result, uint8_t tab_lenght);
|
|
void res_value_int32_to_uint8(int16_t* val_array, uint8_t* converted_val_array, uint8_t tab_lenght);
|
|
};
|
|
|
|
#endif |