20 lines
325 B
C
20 lines
325 B
C
#ifndef SCALE_H
|
|
#define SCALE_H
|
|
|
|
#include <Arduino.h>
|
|
#include "HX711.h"
|
|
|
|
|
|
void start_scale();
|
|
uint8_t calibrate_scale();
|
|
uint8_t tareScale();
|
|
|
|
extern HX711 scale;
|
|
extern int16_t weight;
|
|
extern uint8_t weigthCouterToApi;
|
|
extern uint8_t scale_tare_counter;
|
|
extern uint8_t pauseMainTask;
|
|
|
|
extern TaskHandle_t ScaleTask;
|
|
|
|
#endif |